RepeatedAnimationBuilder<T>.animation constructor
const
RepeatedAnimationBuilder<T>.animation ({
- Key? key,
- required T start,
- required T end,
- required Duration duration,
- Curve curve = Curves.linear,
- Curve? reverseCurve,
- RepeatMode mode = RepeatMode.repeat,
- required Widget animationBuilder(
- BuildContext context,
- Animation<
T> animation
- Widget? child,
- T lerp(
- T a,
- T b,
- double t
- bool play = true,
- 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;