PlayAnimation<T> constructor

const PlayAnimation<T>({
  1. required AnimatedWidgetBuilder<T> builder,
  2. required Animatable<T> tween,
  3. Duration duration = const Duration(seconds: 1),
  4. Duration delay = Duration.zero,
  5. Curve curve = Curves.linear,
  6. Widget? child,
  7. int? fps,
  8. bool developerMode = false,
  9. Key? key,
})

Creates a new PlayAnimation widget. See class documentation for more information.

Implementation

const PlayAnimation({
  required this.builder,
  required this.tween,
  this.duration = const Duration(seconds: 1),
  this.delay = Duration.zero,
  this.curve = Curves.linear,
  this.child,
  this.fps,
  this.developerMode = false,
  Key? key,
}) : super(key: key);