from | Start value. |
to | End value. |
durationMs | Duration of the transition in milliseconds. |
onValueChanged | Callback that applies the interpolated value. |
fromValueGetter | Callback that provides the initial value. |
ValueAnimation<Color> The created animation object.
Starts a transition animation on this VisualElement.