transitionBuilder property

AnimatedSwitcherTransitionBuilder? transitionBuilder
final

The transition builder.

It can be detect the display mode of the parent NavigationView, if any, and change the transition accordingly. By default, if the display mode is top, HorizontalSlidePageTransition is used, otherwise EntrancePageTransition is used.

transitionBuilder: (child, animation) {
  return DrillInPageTransition(child: child, animation: animation);
},

See also:

Implementation

final AnimatedSwitcherTransitionBuilder? transitionBuilder;