overlay property

OverlayState? overlay

Returns The state from the closest instance of this class that encloses the given context.

It is used for showing widgets on top of everything.

Implementation

OverlayState? get overlay => Overlay.of(this);