AnimatedDpOffset

class AnimatedDpOffset(initialValue: DpOffset = DpOffset.Zero, label: String = "AnimatedDpOffset") : AbstractMutableAnimatedValue<DpOffset, AnimationVector2D>

Constructors

Link copied to clipboard
constructor(initialValue: DpOffset = DpOffset.Zero, label: String = "AnimatedDpOffset")

Properties

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

Functions

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