show method
- AnimationStagger? stagger, {
- Duration duration = const Duration(milliseconds: 500),
- Duration delay = Duration.zero,
Plays the default show animation for a route widget.
Implementation
Animate show(
AnimationStagger? stagger, {
Duration duration = const Duration(milliseconds: 500),
Duration delay = Duration.zero,
}) {
return animate().scale(duration: duration, delay: stagger?.add() ?? delay, curve: Curves.easeOutCubic);
}