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