AnimatedRotation constructor

const AnimatedRotation({
  1. Key? key,
  2. Widget? child,
  3. required double turns,
  4. Alignment alignment = Alignment.center,
  5. FilterQuality? filterQuality,
  6. Curve curve = Curves.linear,
  7. required Duration duration,
  8. 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,
});