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 InfiniteTransition.animateColor``androidx.compose.animation.animateColor, InfiniteTransition.animateFloat, or InfiniteTransition.animateValue is represented as a TransitionAnimationState in InfiniteTransition. typeConverter converts the animation value from/to an AnimationVector. label differentiates this animation from others in android studio.

class TransitionAnimationState<T, V : AnimationVector> : State<T>

Is a

Properties

animationSpec

val animationSpec: AnimationSpec<T>

AnimationSpec that is used for current animation run.

animation

val animation: TargetBasedAnimation<T, V>

All the animation configurations including initial value/velocity & target value for animating from initialValue to targetValue are captured in animation.

typeConverter

val typeConverter: TwoWayConverter<T, V>

label

val label: String
Library docs

Each animation created using InfiniteTransition.animateColor``androidx.compose.animation.animateColor, InfiniteTransition.animateFloat, or InfiniteTransition.animateValue is represented as a TransitionAnimationState in InfiniteTransition. typeConverter converts the animation value from/to an AnimationVector. label differentiates this animation from others in android studio.