RepeatingAnimationBuilder<T extends Object> constructor

const RepeatingAnimationBuilder<T extends Object>({
  1. Key? key,
  2. required Animatable<T> animatable,
  3. required Duration duration,
  4. Curve curve = Curves.linear,
  5. RepeatMode repeatMode = RepeatMode.restart,
  6. bool paused = false,
  7. required ValueWidgetBuilder<T> builder,
  8. Widget? child,
})

Creates a widget that repeats an animation.

Implementation

const RepeatingAnimationBuilder({
  super.key,
  required this.animatable,
  required this.duration,
  this.curve = Curves.linear,
  this.repeatMode = RepeatMode.restart,
  this.paused = false,
  required this.builder,
  this.child,
});