PlayAnimation<T> constructor
const
PlayAnimation<T> ({
- required AnimatedWidgetBuilder<
T> builder, - required Animatable<
T> tween, - Duration duration = const Duration(seconds: 1),
- Duration delay = Duration.zero,
- Curve curve = Curves.linear,
- Widget? child,
- int? fps,
- bool developerMode = false,
- VoidCallback? onStart,
- VoidCallback? onComplete,
- 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,
this.onStart,
this.onComplete,
Key? key,
}) : super(key: key);