navigatorKey property

GlobalKey<NavigatorState> navigatorKey

Used for showing dialogs without needing to pass around a BuildContext.

Implementation

GlobalKey<NavigatorState> get navigatorKey => _navigatorKey;