PlayAnimationBuilder<T> constructor

const PlayAnimationBuilder<T>({
  1. required Animatable<T> tween,
  2. required Duration duration,
  3. required ValueWidgetBuilder<T> builder,
  4. Duration delay = Duration.zero,
  5. Curve curve = Curves.linear,
  6. Widget? child,
  7. int? fps,
  8. bool developerMode = false,
  9. VoidCallback? onStarted,
  10. VoidCallback? onCompleted,
  11. Key? key,
})

Implementation

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