findAncestorElementOfExactType<T extends InheritedWidget> abstract method

InheritedElement? findAncestorElementOfExactType<T extends InheritedWidget>()

Returns the nearest InheritedElement of type T.

Implementation

InheritedElement? findAncestorElementOfExactType<T extends InheritedWidget>();