OverlayContext extension

Contains extensions for easier access to Overlay and OverlayState using BuildContext

on

Properties

overlay OverlayState?

Available on BuildContext, provided by the OverlayContext extension

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

Methods

addOverlay(WidgetBuilder builder) OverlayEntry

Available on BuildContext, provided by the OverlayContext extension

Insert the given widget into the overlay. The newly inserted widget will always be at the top.