snap

@Stable
fun <T> snap(delayMillis: Int = 0): SnapSpec<T>

Creates a Snap animation for immediately switching the animating value to the end value.

Parameters

delayMillis

the number of milliseconds to wait before the animation runs. 0 by default.