findAncestorWidgetOfExactType<T extends Widget> abstract method

T? findAncestorWidgetOfExactType<T extends Widget>()

Returns the nearest ancestor widget of type T, or null.

Implementation

T? findAncestorWidgetOfExactType<T extends Widget>();