rotationTransition method
Widget
rotationTransition({
- required Animation<
double> turns, - Key? key,
- Alignment alignment = Alignment.center,
- FilterQuality? filterQuality,
Animates the rotation of a widget.
Implementation
Widget rotationTransition({
required Animation<double> turns,
Key? key,
Alignment alignment = Alignment.center,
FilterQuality? filterQuality,
}) {
return RotationTransition(
key: key,
turns: turns,
alignment: alignment,
filterQuality: filterQuality,
child: this,
);
}