RotationTransition constructor

const RotationTransition({
  1. Key? key,
  2. required Animation<double> turns,
  3. Alignment alignment = Alignment.center,
  4. FilterQuality? filterQuality,
  5. Widget? child,
})

Creates a rotation transition.

Implementation

const RotationTransition({
  super.key,
  required Animation<double> turns,
  super.alignment = Alignment.center,
  super.filterQuality,
  super.child,
}) : super(animation: turns, onTransform: _handleTurnsMatrix);