overlayState property

OverlayState? get overlayState

Returns the OverlayState of the context, if available. This property retrieves the state of the Overlay widget, allowing access to overlays for things like showing floating widgets or positioning other types of overlays.

Implementation

OverlayState? get overlayState => Overlay.maybeOf(this);