setAppNavigatorKey method
void
setAppNavigatorKey(
It set GlobalKey<NavigatorState> to get OverlayState which use to add OverlayEntry
Implementation
void setAppNavigatorKey(GlobalKey<NavigatorState>? appNavigator) {
_appNavigatorKey = appNavigator;
}