setKey static method
Method to set you own navigatorKey
Implementation
static void setKey(GlobalKey<NavigatorState> key) {
navigatorKey = key;
}
Method to set you own navigatorKey
static void setKey(GlobalKey<NavigatorState> key) {
navigatorKey = key;
}