createAnimation method

  1. @override
Animation<double> createAnimation()
override

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,
  );
}