Android 12 Developer Preview is here! Try it out, and give us your feedback!

AnimationConstants

object AnimationConstants
kotlin.Any
   ↳ androidx.compose.animation.core.AnimationConstants

Summary

Constants
const Int

The default duration used in VectorizedAnimationSpecs and AnimationSpec.

const Long

The value that is used when the animation time is not yet set.

Constants

DefaultDurationMillis

const val DefaultDurationMillis: Int

The default duration used in VectorizedAnimationSpecs and AnimationSpec.

Value: 300

UnspecifiedTime

const val UnspecifiedTime: Long

The value that is used when the animation time is not yet set.

Value: Long.MIN_VALUE