LoopAnimation<T> constructor
LoopAnimation<T> ({
- required AnimatedWidgetBuilder<
T> builder, - required Animatable<
T> tween, - Duration duration = const Duration(seconds: 1),
- Curve curve = Curves.linear,
- Widget? child,
- int? fps,
- Key? key,
Creates a new LoopAnimation widget. See class documentation for more information.
Implementation
LoopAnimation(
{required this.builder,
required this.tween,
this.duration = const Duration(seconds: 1),
this.curve = Curves.linear,
this.child,
this.fps,
Key? key})
: super(key: key);