RouteFactory typedef

Route RouteFactory (
  1. RouteSettings settings
)

Creates a route for the given route settings.

Used by Navigator.onGenerateRoute and Navigator.onUnknownRoute.

Implementation

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