animation<V> method
Implementation
Animation<V> animation<V>(V startValue, V endValue, Curve curve,
{Curve? reverseCurve}) {
final Animation<double> curveAnm =
CurvedAnimation(parent: this, curve: curve, reverseCurve: reverseCurve);
return Tween<V>(begin: startValue, end: endValue).animate(curveAnm);
}