findAncestorWidgetOfExactType<T extends Widget> abstract method

T? findAncestorWidgetOfExactType<T extends Widget>()

Returns the nearest ancestor widget of the given type T.

Implementation

T? findAncestorWidgetOfExactType<T extends Widget>();