RouteFactory typedef

Route RouteFactory (RouteSettings settings)

Creates a route for the given route settings.

Used by Navigator.onGenerateRoute and Navigator.onUnknownRoute.