route_tree_flutter library Null safety

Functions

makeRouteFactory<T>({required PageBuilder pageRouteBuilder, required RootSegment<Widget> routeTree, required Widget createAnonymousRoute()}) RouteFactory
Creates a RouteFactory to pass to WidgetsApp.onGenerateRoute. [...]

Typedefs

PageBuilder<T> = PageRoute<T> Function(Widget widget, RouteSettings settings)
Function that creates a PageRoute<T> from widget and settings. Used by makeRouteFactory.