createAnimation method
Called to create the animation that exposes the current progress of the transition controlled by the animation controller created by createAnimationController().
Implementation
@override
Animation<double> createAnimation() {
return CurvedAnimation(
parent: super.createAnimation(),
curve: curve,
reverseCurve: reverseCurve,
);
}