setAppNavigatorKey method

void setAppNavigatorKey(
  1. GlobalKey<NavigatorState>? appNavigator
)

It set GlobalKey<NavigatorState> to get OverlayState which use to add OverlayEntry

Implementation

void setAppNavigatorKey(GlobalKey<NavigatorState>? appNavigator) {
  _appNavigatorKey = appNavigator;
}