navigatorKey property
GlobalKey<NavigatorState>
get
navigatorKey
Implementation
static GlobalKey<NavigatorState> get navigatorKey {
if (!_navigators.containsKey('app')) {
_navigators.addAll({'app': GlobalKey<NavigatorState>()});
if (!currentModule.contains("app")) {
currentModule.add("app");
}
}
return _navigators['app']!;
}