rotationTransition method

Widget rotationTransition({
  1. required Animation<double> turns,
  2. Key? key,
  3. Alignment alignment = Alignment.center,
  4. 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,
  );
}