RoutingConfig constructor
const
RoutingConfig({
- required List<
RouteBase> routes, - GoRouterRedirect redirect = _defaultRedirect,
- int redirectLimit = 5,
Creates a routing config.
The routes
must not be empty.
Implementation
const RoutingConfig({
required this.routes,
this.redirect = _defaultRedirect,
this.redirectLimit = 5,
});