AnimatedRotationModifier constructor
const
AnimatedRotationModifier({
- Key? key,
- Widget? child,
- Curve curve = Curves.linear,
- required Duration duration,
- VoidCallback? onEnd,
- Key? modifierKey,
- required double turns,
- Alignment alignment = Alignment.center,
- FilterQuality? filterQuality,
Creates a widget that animates its rotation implicitly.
The turns
argument must not be null.
The curve
and duration
arguments must not be null.
Implementation
const AnimatedRotationModifier({
super.key,
super.child,
super.curve,
required super.duration,
super.onEnd,
super.modifierKey,
required this.turns,
this.alignment = Alignment.center,
this.filterQuality,
});