Route RouteFactory(RouteSettings settings)

Creates a route for the given route settings.

Used by Navigator.onGenerateRoute and Navigator.onUnknownRoute.

Source

typedef Route<dynamic> RouteFactory(RouteSettings settings);