TweenSpec
Class
Common
public class TweenSpec<T>(
public val durationMillis: Int = DefaultDurationMillis,
public val delay: Int = 0,
public val easing: Easing = FastOutSlowInEasing,
) : DurationBasedAnimationSpec<T>
Creates a TweenSpec configured with the given duration, delay, and easing curve.
Parameters
durationMillis | duration of the VectorizedTweenSpec animation. |
delay | the number of milliseconds the animation waits before starting, 0 by default. |
easing | the easing curve used by the animation. FastOutSlowInEasing by default. |