transitionBuilder property

(Widget Function(BuildContext context, Widget child, AnimationController animation)?) transitionBuilder
final

Provides a custom animation when a new route is shown. Supports only transitionIn right now.

Implementation

final Widget Function(BuildContext context, Widget child, AnimationController animation)? transitionBuilder;