animation method

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

Animation used for widget.

Implementation

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