SnapSpec

@Immutable
class SnapSpec<T>(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.

Constructors

Link copied to clipboard
constructor(delay: Int = 0)

Properties

Link copied to clipboard
val delay: Int = 0

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int