The Developer Preview for Android 11 is now available; test it out and share your feedback.

SnapBuilder

class SnapBuilder<T> : AnimationBuilder<T>
kotlin.Any
   ↳ androidx.animation.AnimationBuilder<T>
   ↳ androidx.animation.SnapBuilder

Builds Snap animation for immediately switching the animating value to the end value.

Summary

Public constructors

Builds Snap animation for immediately switching the animating value to the end value.

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Public constructors

<init>

SnapBuilder()

Builds Snap animation for immediately switching the animating value to the end value.