PageRouteFactory typedef
The signature of WidgetsApp.pageRouteBuilder.
Creates a PageRoute using the given RouteSettings and WidgetBuilder.
Implementation
typedef PageRouteFactory = PageRoute<T> Function<T>(RouteSettings settings, WidgetBuilder builder);