setNavigationKey method
      
void
setNavigationKey(
    
Set a new navigator key for the application.
Implementation
void setNavigationKey(GlobalKey<NavigatorState> navigatorKey) => _currentNavigatorKey = navigatorKey;Set a new navigator key for the application.
void setNavigationKey(GlobalKey<NavigatorState> navigatorKey) => _currentNavigatorKey = navigatorKey;