navigatorKey property

GlobalKey<NavigatorState> navigatorKey
getter/setter pair

Global navigator key which which is placed in your MaterialApp Example usage:

return MaterialApp( register global navigator key here navigatorKey: PulseNavigator.navigatorKey, );

Implementation

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