ArcAnimationSpec
DurationBasedAnimationSpec that interpolates 2-dimensional values using arcs of quarter of an Ellipse.
To interpolate with keyframes use KeyframesSpecConfig.using with an ArcMode.
As such, it's recommended that ArcAnimationSpec is only used for positional 2D values, animated through a multidimensional TwoWayConverter.
The orientation of the arc is indicated by the given mode.
Do note, that if the target value being animated only changes in one dimension, you'll only be able to get a linear curve.
Similarly, one-dimensional values will always only interpolate on a linear curve.
Parameters
Orientation of the arc.
Duration of the animation. DefaultDurationMillis by default.
Time the animation waits before starting. 0 by default.
Easing applied on the animation curve. FastOutSlowInEasing by default.
See also
Functions
Creates a VectorizedAnimationSpec with the given TwoWayConverter.