DurationBasedAnimationSpec
A FiniteAnimationSpec whose forward cycle has a known, fixed duration. Repeating a cycle is only possible when its length is known up front, so repeatable / infiniteRepeatable accept only duration-based specs (springs, which have no fixed cycle, are excluded).
Properties
Functions
Link copied to clipboard
abstract fun createAnimator(initialValue: T, targetValue: T, typeConverter: TypeConverter<T>, initialVelocity: AnimationVector? = null): Animator<T>
Creates an Animator configured with the given initial conditions.