curve property Null safety

Curve curve
final

the unit interval.

Easing curves are used to adjust the rate of change of an animation over time, allowing them to speed up and slow down, rather than moving at a constant rate.

A Curve must map t=0.0 to 0.0 and t=1.0 to 1.0.

See also:

  • Curves, a collection of common animation easing curves.
  • CurveTween, which can be used to apply a Curve to an Animation.
  • Canvas.drawArc, which draws an arc, and has nothing to do with easing curves.
  • Animatable, for a more flexible interface that maps fractions to arbitrary values.

Implementation

final Curve curve;