Class

TweenSpec

Creates a TweenSpec configured with the given duration, delay, and easing curve.

Source set: 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.

Functions

vectorize

Source set: Common
override fun <V : AnimationVector> vectorize(
        converter: TwoWayConverter<T, V>
    ): VectorizedTweenSpec<V>

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: