inheritedElement method
Implementation
InheritedElement? inheritedElement(BuildContext? context) {
InheritedElement? element;
if (context != null) {
element = context.getElementForInheritedWidgetOfExactType<U>();
}
return element;
}
InheritedElement? inheritedElement(BuildContext? context) {
InheritedElement? element;
if (context != null) {
element = context.getElementForInheritedWidgetOfExactType<U>();
}
return element;
}