overlay_layers library

Classes

AnimatedOverlay
Generic animated overlay wrapper with configurable animations Supports fade, scale, and slide animations in any combination
ModalController
Controller for managing modals Modals are interchangeable - only one modal can be displayed at a time Opening a new modal automatically closes the previous one
ModalDataContext<TData>
Data context for modal components Use this to access and update modal data from within a modal widget
OverlayCreateOptions<TData>
Options for creating an overlay
OverlayDataContext<TData>
Data context provided to individual overlay components
OverlayInstance<TData>
Base overlay instance representing any type of overlay (popup, modal, toast, dialog)
OverlayManager
Core overlay manager that handles all overlay types (popup, toast, modal, dialog) Uses Flutter's native Overlay system under the hood
OverlayScaffold
Generic overlay scaffold with backdrop and positioning Works with any overlay type (popup, modal, toast, dialog, tooltip)
PopupController
Controller for managing popups Provides convenient methods to open, close, and update popups
PopupDataContext<TData>
Data context for popup components Use this to access and update popup data from within a popup widget
PositionedOverlay
Position an overlay relative to a target widget Useful for tooltips, dropdowns, and context menus

Enums

OverlayPosition
Position for PositionedOverlay
OverlayType
Type of overlay layer