Google is committed to advancing racial equity for Black communities. See how.

DpPropKey

class DpPropKey : PropKey<Dp, AnimationVector1D>
kotlin.Any
   ↳ androidx.compose.animation.DpPropKey

Built-in property key for Dp properties.

Summary

Public constructors
<init>(label: String = "DpPropKey")

Built-in property key for Dp properties.

Properties
String

Label for distinguishing different prop keys in Android Studio.

TwoWayConverter<Dp, AnimationVector1D>

A TwoWayConverter that converts T (the data type to be animated) to and from V (any subclass of AnimationVector).

Public constructors

<init>

DpPropKey(label: String = "DpPropKey")

Built-in property key for Dp properties.

Parameters
label: String = "DpPropKey" Label for distinguishing different prop keys in Android Studio.

Properties

label

val label: String

Label for distinguishing different prop keys in Android Studio.

typeConverter

val typeConverter: TwoWayConverter<Dp, AnimationVector1D>

A TwoWayConverter that converts T (the data type to be animated) to and from V (any subclass of AnimationVector).