getContext method

BuildContext? getContext()

Get context from navigator key. Used to open inspector route.

Implementation

BuildContext? getContext() => _navigatorKey.currentState?.overlay?.context;