overlay_container library


The child passed to this widget is rendered outside the widget hierarchy as an overlay to the exisiting widget tree. As a result this widget is highly suitable for building custom dropdown options, autocomplete suggestions, dialogs, etc. Think of it as widget placed absolutely and having a positive z-index over the rest of the widget tree. It is actually a friendly wrapper over the Flutter's Overlay and OverlayEntry APIs.
Class to help position the overlay on the screen. By default it will be rendered right below (if the parent is Column) the widget which is alongside the OverlayContainer. The Overlay can however be moved around by giving a left value and a bottom value just like in the case of a Positioned widget. The default values for left and bottom are 0 and 0 respectively.