navigatorKey property

GlobalKey<NavigatorState>? navigatorKey

The key used for retrieving the current navigator.

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

Implementation

GlobalKey<NavigatorState>? get navigatorKey;