RotatingAnimation constructor
const
RotatingAnimation({})
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,
});