navigatorKey property

GlobalKey<NavigatorState> navigatorKey
final

The GlobalKey to be used by the Navigator built for this route. All ShellRoutes build a Navigator by default. Child GoRoutes are placed onto this Navigator instead of the root Navigator.

Implementation

final GlobalKey<NavigatorState> navigatorKey;