Class

SnapSpec

SnapSpec describes a jump-cut type of animation.

Source set: Common
public class SnapSpec<T>(public val delay: Int = 0) : DurationBasedAnimationSpec<T>

SnapSpec describes a jump-cut type of animation. It immediately snaps the animating value to the end value.

Parameters

delay the amount of time (in milliseconds) that the animation should wait before it starts. Defaults to 0.

Functions

vectorize

Source set: Common
override fun <V : AnimationVector> vectorize(
        converter: TwoWayConverter<T, V>
    ): VectorizedDurationBasedAnimationSpec<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: