getContext method
Get context from navigator key. Used to open inspector route.
Implementation
BuildContext? getContext() => _navigatorKey.currentState?.overlay?.context;
Get context from navigator key. Used to open inspector route.
BuildContext? getContext() => _navigatorKey.currentState?.overlay?.context;