navigatorKeyForSubRoute method
Returns the key for the Navigator that is to be used for the specified immediate sub-route of this shell route.
Implementation
@override
GlobalKey<NavigatorState> navigatorKeyForSubRoute(RouteBase subRoute) {
assert(routes.contains(subRoute));
return navigatorKey;
}