RouteFactory typedef

RouteFactory = Route? Function(RouteSettings settings)

Creates a route for the given route settings.

Used by Navigator.onGenerateRoute.

See also:

Implementation

typedef RouteFactory = Route<dynamic>? Function(RouteSettings settings);