navigatorKey property

GlobalKey<NavigatorState>? get navigatorKey

Return the navigator key used by the App's View.

Implementation

static GlobalKey<NavigatorState>? get navigatorKey => _appState?.navigatorKey;
set navigatorKey (GlobalKey<NavigatorState>? v)

Implementation

static set navigatorKey(GlobalKey<NavigatorState>? v) {
  if (v != null) {
    _appState?.navigatorKey = v;
  }
}