ShellRoute constructor
ShellRoute({})
Constructs a ShellRoute.
Implementation
ShellRoute({
super.redirect,
this.builder,
this.pageBuilder,
super.notifyRootObserver,
this.observers,
super.metadata,
required super.routes,
super.parentNavigatorKey,
GlobalKey<NavigatorState>? navigatorKey,
this.restorationScopeId,
}) : assert(routes.isNotEmpty),
navigatorKey = navigatorKey ?? GlobalKey<NavigatorState>(),
super._() {
assert(() {
ShellRouteBase._debugCheckSubRouteParentNavigatorKeys(routes, this.navigatorKey);
return true;
}());
}