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