buildPageRoute method

PageRoute buildPageRoute({
  1. required Widget child,
  2. required bool fullScreenDialog,
  3. required VoidCallback? onSystemPop,
})

Pushes route to Navigator

Implementation

PageRoute buildPageRoute({
  required Widget child,
  required bool fullScreenDialog,
  required VoidCallback? onSystemPop,
}) {
  return defaultRouteBuilder.buildPageRoute(
    fullScreenDialog: fullScreenDialog,
    onSystemPop: onSystemPop,
    child: child,
  );
}