TwistingAnimation constructor

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

Implementation

const TwistingAnimation({
  // The key for the widget.
  super.key,
  // The required child widget.
  required this.child,
  // The required duration of the animation.
  required this.duration,
  // The repeat flag, defaulting to true.
  this.repeat = true,
});