animation method

  1. @override
Animation animation(
  1. AnimationController controller
)
override

Animation used for widget.

Implementation

@override
Animation animation(AnimationController controller) {
  return Tween(begin: 0.0, end: pi / 2).animate(
    CurvedAnimation(parent: controller, curve: curve),
  );
}