RotatingAnimation constructor

const RotatingAnimation({
  1. Key? key,
  2. required Widget child,
  3. required Duration duration,
  4. bool repeat = true,
})

Implementation

const RotatingAnimation({
  // The key for this widget.
  super.key,
  // The required child widget.
  required this.child,
  // The required duration of the animation.
  required this.duration,
  // Whether the animation should repeat (defaults to true).
  this.repeat = true,
});