RepeatedAnimationBuilder<T> constructor

const RepeatedAnimationBuilder<T>({
  1. Key? key,
  2. required T start,
  3. required T end,
  4. required Duration duration,
  5. Curve curve = Curves.linear,
  6. Curve? reverseCurve,
  7. RepeatMode mode = RepeatMode.repeat,
  8. required Widget builder(
    1. BuildContext context,
    2. T value,
    3. Widget? child
    )?,
  9. Widget? child,
  10. T lerp(
    1. T a,
    2. T b,
    3. double t
    )?,
  11. bool play = true,
  12. Duration? reverseDuration,
})

Implementation

const RepeatedAnimationBuilder({
  super.key,
  required this.start,
  required this.end,
  required this.duration,
  this.curve = Curves.linear,
  this.reverseCurve,
  this.mode = RepeatMode.repeat,
  required this.builder,
  this.child,
  this.lerp,
  this.play = true,
  this.reverseDuration,
}) : animationBuilder = null;