getDpAsState

fun StatefulValue<Dp>.getDpAsState(context: MotionContext, motionProperty: MotionProperty<Dp>, defaultValue: Dp = getDefaultValue()): State<Dp>

Возвращает State<Dp> для StatefulValue с применением motionProperty.