findAncestorElementOfExactType<T extends InheritedWidget> abstract method
Returns the nearest InheritedElement of type T.
Implementation
InheritedElement? findAncestorElementOfExactType<T extends InheritedWidget>();