has<T extends InheritedWidget> static method
If the widget has been mounted with its State object
Implementation
static bool has<T extends InheritedWidget>() => _states.containsKey(T);
If the widget has been mounted with its State object
static bool has<T extends InheritedWidget>() => _states.containsKey(T);