PlayAnimationBuilder<T> constructor
const
PlayAnimationBuilder<T> ({
- required Animatable<
T> tween, - required Duration duration,
- required ValueWidgetBuilder<
T> builder, - Duration delay = Duration.zero,
- Curve curve = Curves.linear,
- Widget? child,
- int? fps,
- bool developerMode = false,
- VoidCallback? onStarted,
- VoidCallback? onCompleted,
- 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);