flex_overlay 0.6.1+2 copy "flex_overlay: ^0.6.1+2" to clipboard
flex_overlay: ^0.6.1+2 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.6.1+2 #

Fixed #

  • Click Propagation - Prevent clicks from propagating to parent widgets (e.g., table rows) by combining Listener with GestureDetector to win gesture arena

0.6.1+1 #

Improved #

  • Click Response - Use Listener.onPointerDown instead of GestureDetector for instant click response with raw pointer events

0.6.1 #

Improved #

  • Click Response - Replaced onTap with onTapDown for faster tooltip response

0.6.0 #

Fixed #

  • Scrollable Content Support - Fixed RenderBox was not laid out errors when popup content contains Flexible + SingleChildScrollView or other widgets with unbounded intrinsic sizes. Replaced intrinsic measurement with constrained measurement using overlay bounds. (Fixes #1)

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 visible parameter
  • Scoped Boundaries - FlexOverlayScope for 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 popups
  • PositionConfig - Configuration for positioning behavior with presets (.top(), .bottom(), .left(), .right())
  • InteractionConfig - Configuration for click/hover interactions
  • FlexOverlayScope - Boundary constraints for popup positioning
  • InteractionMode - Enum for click vs hover modes
2
likes
140
points
0
downloads

Publisher

verified publishercodealchemist.dev

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#overlay #portal #tooltip #popup #positioning

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flex_overlay