getContext method

BuildContext? getContext()

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

Implementation

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