flex_overlay 0.5.0
flex_overlay: ^0.5.0 copied to clipboard
A pure positioning system for Flutter popups, tooltips, and overlays. Smart alignment-based positioning with automatic edge detection and fallback strategies, without imposing any styling.
0.5.0 #
Initial release of FlexOverlay - a pure positioning system for Flutter popups and tooltips.
Features #
- Smart Positioning - Alignment-based positioning with automatic fallback strategies
- Edge-Aware - Automatically keeps popups within screen bounds with configurable margins
- Overlap Detection - Prevents popups from covering trigger widgets
- Dual Interaction Modes - Support for both click and hover interactions
- Programmatic Control - External state control via
visibleparameter - Scoped Boundaries -
FlexOverlayScopefor constraining popups to specific regions - Auto-Hide - Optional timeout for automatic dismissal
- Pure Positioning - No styling imposed, complete control over appearance
- Dynamic Content - Handles content size changes gracefully
- Zero Dependencies - Pure Flutter implementation
API #
FlexOverlay- Main widget for creating positioned popupsPositionConfig- Configuration for positioning behavior with presets (.top(),.bottom(),.left(),.right())InteractionConfig- Configuration for click/hover interactionsFlexOverlayScope- Boundary constraints for popup positioningInteractionMode- Enum for click vs hover modes