RepeatedAnimationBuilder<T>.animation constructor

const RepeatedAnimationBuilder<T>.animation({
  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 animationBuilder(
    1. BuildContext context,
    2. Animation<T> animation
    )?,
  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.animation({
  super.key,
  required this.start,
  required this.end,
  required this.duration,
  this.curve = Curves.linear,
  this.reverseCurve,
  this.mode = RepeatMode.repeat,
  required this.animationBuilder,
  this.child,
  this.lerp,
  this.play = true,
  this.reverseDuration,
}) : builder = null;