of static method
Returns the OverlayState of the nearest Overlay ancestor.
Implementation
static OverlayState? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<_OverlayScope>()?._state;
}
Returns the OverlayState of the nearest Overlay ancestor.
static OverlayState? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<_OverlayScope>()?._state;
}