AnimatedValue
A typed animated value that pairs a target value with a lerp function. Pass instances of this type in the values list of ImplicitAnimation. When the target changes between builds, the framework automatically tweens from the previous value to the new target. Read the current interpolated result inside the builder via Get.
Constructor
AnimatedValue
Creates a new animated value.
| Parameter | Description |
|---|---|
key | A string key that uniquely identifies this value within the ImplicitAnimation’s values list. |
target | The current target value. |
lerp | A function that interpolates between two values of type . The signature is (from, to, t) => interpolated. |
Properties
Key
Target
The current target value for this animated property.
Methods
HasChangedFrom
Interpolate
WithTarget
Last updated on