androidx.compose.animation.core
TransitionAnimationState
Class · from org.jetbrains.compose.animation:animation-core:1.12.2
No hand-written docs yet.
Each animation created using animateFloat, animateDp, etc is represented as a TransitionAnimationState in Transition.
class TransitionAnimationState<T, V : AnimationVector> : State<T>
Is a
Properties
animationSpec
val animationSpec: FiniteAnimationSpec<T>
AnimationSpec that is used for current animation run. This can change when targetState changes.
animation
val animation: TargetBasedAnimation<T, V>
All the animation configurations including initial value/velocity & target value for animating from currentState to targetState are captured in animation.
typeConverter
val typeConverter: TwoWayConverter<T, V>
label
val label: String
Library docs
Each animation created using animateFloat, animateDp, etc is represented as a
TransitionAnimationState in Transition.