Package-level declarations

Types

Link copied to clipboard
abstract class AbstractMutableAnimatedValue<Value, Vector : AnimationVector>(converter: TwoWayConverter<Value, Vector>, zeroVelocity: Value, initialValue: Value, label: String = "AnimatedValue") : MutableAnimatedValue<Value>

Exists to mitigate Animatable's limitations regarding animating and snapping. The mitigations are based on manual management of publicly exposed state.

Link copied to clipboard
class AnimatedColor(initialValue: Color = Color.Transparent, colorSpace: ColorSpace = ColorSpaces.Srgb, label: String = "AnimatedColor") : AbstractMutableAnimatedValue<Color, AnimationVector4D>
Link copied to clipboard
class AnimatedDp(initialValue: Dp = 0.dp, label: String = "AnimatedDp") : AbstractMutableAnimatedValue<Dp, AnimationVector1D>
Link copied to clipboard
class AnimatedDpOffset(initialValue: DpOffset = DpOffset.Zero, label: String = "AnimatedDpOffset") : AbstractMutableAnimatedValue<DpOffset, AnimationVector2D>
Link copied to clipboard
class AnimatedDpSize(initialValue: DpSize = DpSize.Zero, label: String = "AnimatedDpSize") : AbstractMutableAnimatedValue<DpSize, AnimationVector2D>
Link copied to clipboard
class AnimatedFloat(initialValue: Float = 0.0f, label: String = "AnimatedFloat") : AbstractMutableAnimatedValue<Float, AnimationVector1D>
Link copied to clipboard
class AnimatedInt(initialValue: Int = 0, label: String = "AnimatedInt") : AbstractMutableAnimatedValue<Int, AnimationVector1D>
Link copied to clipboard
class AnimatedIntOffset(initialValue: IntOffset = IntOffset.Zero, label: String = "AnimatedIntOffset") : AbstractMutableAnimatedValue<IntOffset, AnimationVector2D>
Link copied to clipboard
class AnimatedIntSize(initialValue: IntSize = IntSize.Zero, label: String = "AnimatedIntSize") : AbstractMutableAnimatedValue<IntSize, AnimationVector2D>
Link copied to clipboard
class AnimatedOffset(initialValue: Offset = Offset.Zero, label: String = "AnimatedOffset") : AbstractMutableAnimatedValue<Offset, AnimationVector2D>
Link copied to clipboard
class AnimatedSize(initialValue: Size = Size.Zero, label: String = "AnimatedSize") : AbstractMutableAnimatedValue<Size, AnimationVector2D>
Link copied to clipboard
interface AnimatedValue<Value>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface DpState : State<Dp>
Link copied to clipboard
class GenericMutableAnimatedValue<Value, Vector : AnimationVector>(converter: TwoWayConverter<Value, Vector>, zeroVelocity: Value, initialValue: () -> Value, label: String = "AnimatedValue") : AbstractMutableAnimatedValue<Value, Vector>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface SizeState : State<Size>
Link copied to clipboard

Functions

Link copied to clipboard
inline operator fun IntSizeState.getValue(thisObj: Any?, property: KProperty<*>): IntSize
Link copied to clipboard
@JvmName(name = "mutableColorStateOfLong")
fun mutableColorStateOf(value: Long): MutableColorState
@JvmName(name = "mutableColorStateOfRgba")
fun mutableColorStateOf(red: Int, green: Int, blue: Int, alpha: Int = 255): MutableColorState
Link copied to clipboard
Link copied to clipboard
@JvmName(name = "mutableDpSizeStateOfWh")
fun mutableDpSizeStateOf(width: Dp, height: Dp): MutableDpSizeState
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JvmName(name = "mutableIntSizeStateOfWh")
fun mutableIntSizeStateOf(width: Int, height: Int): MutableIntSizeState
Link copied to clipboard
Link copied to clipboard
@JvmName(name = "mutableSizeStateOfWh")
fun mutableSizeStateOf(width: Float, height: Float): MutableSizeState
Link copied to clipboard