buildTransitions<T> method
Delegates to the builder for the current ThemeData.platform. If a builder for the current platform is not found, then the ZoomPageTransitionsBuilder is used.
MaterialPageRoute.buildTransitions delegates to this method.
Implementation
Widget buildTransitions<T>(
PageRoute<T> route,
BuildContext context,
Animation<double> animation,
Animation<double> secondaryAnimation,
Widget child,
) {
return _PageTransitionsThemeTransitions<T>(
builders: builders,
route: route,
animation: animation,
secondaryAnimation: secondaryAnimation,
child: child,
);
}