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