show method

Animate show(
  1. AnimationStagger? stagger, {
  2. Duration duration = const Duration(milliseconds: 500),
  3. 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);
}