navigatorKey property

GlobalKey<NavigatorState> navigatorKey
final

The key used for retrieving the current navigator.

When using this mixin, be sure to use this key to create the navigator.

Implementation

final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();