LoopAnimation<T> constructor

LoopAnimation<T>({
  1. required AnimatedWidgetBuilder<T> builder,
  2. required Animatable<T> tween,
  3. Duration duration = const Duration(seconds: 1),
  4. Curve curve = Curves.linear,
  5. Widget? child,
  6. int? fps,
  7. 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);