GenericMutableAnimatedValue

class GenericMutableAnimatedValue<Value, Vector : AnimationVector>(converter: TwoWayConverter<Value, Vector>, zeroVelocity: Value, initialValue: () -> Value, label: String = "AnimatedValue") : AbstractMutableAnimatedValue<Value, Vector>

Constructors

Link copied to clipboard
constructor(converter: TwoWayConverter<Value, Vector>, zeroVelocity: Value, initialValue: () -> Value, label: String = "AnimatedValue")

Properties

Link copied to clipboard
open override var value: Value
Link copied to clipboard
open override val velocity: Value

Functions

Link copied to clipboard
open suspend override fun animateTo(target: Value, spec: AnimationSpec<Value> = spring(), initialVelocity: Value = velocity, stopOnTargetReached: Boolean = false)