AnimatedRotation constructor
- Key? key,
- Widget? child,
- required double turns,
- Alignment alignment = Alignment.center,
- FilterQuality? filterQuality,
- Curve curve = Curves.linear,
- required Duration duration,
- VoidCallback? onEnd,
Creates a widget that animates its rotation implicitly.
Implementation
const AnimatedRotation({
super.key,
this.child,
required this.turns,
this.alignment = Alignment.center,
this.filterQuality,
super.curve,
required super.duration,
super.onEnd,
});