PageRouteFactory typedef

PageRoute<T> PageRouteFactory <T>(
  1. RouteSettings settings,
  2. WidgetBuilder builder
)

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);