curve property
The easing curve to use for the animation.
This defines the rate of change of the animation over time. You can use any Cubic curve, including predefined curves from Curves like Curves.easeInOut, Curves.linear, etc.
Defaults to Curves.easeInOut.
Implementation
final Cubic curve;