rotate static method
- AnimationController controller, {
- double turns = 1.0,
Rotation animation
Implementation
static Animation<double> rotate(
AnimationController controller, {
double turns = 1.0,
}) {
return Tween<double>(begin: 0, end: turns).animate(
CurvedAnimation(parent: controller, curve: smooth),
);
}