findAncestorWidgetOfExactType<T extends Widget> abstract method

T? findAncestorWidgetOfExactType<T extends Widget>()

Returns the nearest ancestor widget of the given type T, which must be the type of a concrete Widget subclass.

Implementation

T? findAncestorWidgetOfExactType<T extends Widget>();