getContext method
Returns the BuildContext of the widget if it is mounted.
Implementation
BuildContext? getContext(String id) => _registry.getContext(id);
Returns the BuildContext of the widget if it is mounted.
BuildContext? getContext(String id) => _registry.getContext(id);