cranpose_animation/
lib.rs1#![allow(non_snake_case)]
6
7pub mod animation;
8pub mod color;
9pub mod decay_spec;
10pub mod geometry_animation;
11#[cfg(test)]
12pub(crate) mod test_support;
13pub mod transition;
14pub mod unit_animation;
15
16pub use animation::*;
17pub use color::animateColorAsState;
18pub use decay_spec::{
19 ExponentialDecaySpec, FloatDecayAnimationSpec, IOS_DECELERATION_RATE_FAST,
20 IOS_DECELERATION_RATE_NORMAL,
21};
22pub use geometry_animation::{animateOffsetAsState, animateRectAsState, animateSizeAsState};
23pub use transition::{Transition, updateTransition};
24pub use unit_animation::animateDpAsState;
25
26pub mod prelude {
27 pub use crate::{
28 animation::{
29 Animatable, AnimationSpec, AnimationType, Easing, InfiniteRepeatableSpec,
30 InfiniteTransition, Lerp, RepeatMode, Spring, SpringSpec, StartOffset, StartOffsetType,
31 animateFloatAsState, animateValueAsState, infiniteRepeatable,
32 rememberInfiniteTransition, spring, tween,
33 },
34 color::animateColorAsState,
35 decay_spec::{ExponentialDecaySpec, FloatDecayAnimationSpec},
36 geometry_animation::{animateOffsetAsState, animateRectAsState, animateSizeAsState},
37 transition::{Transition, updateTransition},
38 unit_animation::animateDpAsState,
39 };
40}