pop_overlay 4.2.3 copy "pop_overlay: ^4.2.3" to clipboard
pop_overlay: ^4.2.3 copied to clipboard

A feature-rich package for displaying customizable pop-ups from any given widget. Featuring animated, draggable overlays, with optional background blur effects...

4.2.3 #

  • s_packages dependency upgraded to ^3.4.0
    • internal SInkButton widgets now show the click cursor on web/desktop hover, giving clearer visual feedback that the widget is interactive.
      • Disabled SInkButton widgets keep the basic cursor so non-interactive states remain visually distinct.

4.2.2 #

  • quick pubspec.yaml update

4.2.1 #

  • s_packages dependency upgraded to ^3.3.1
    • pop_overlay interaction and layout refinements:
      • Added optional TapRegion integration to PopOverlayContent (tapRegionGroupId, onTapRegionOutside, onTapRegionInside, tapRegionBehavior, tapRegionConsumeOutsideTaps) so overlay content can participate in grouped inside/outside tap handling.
      • Updated the overlay activator to inherit the surrounding app theme, scroll behavior, and text direction instead of spinning up a nested MaterialApp, improving integration inside host applications.
      • Improved dismissal safety by ensuring delayed removals only dispose the exact overlay instance that started exiting, preventing stale dismiss timers from removing a newer overlay that reused the same ID.
      • Improved framed popup sizing with responsive width/height resolution, maximum viewport constraints, and better handling of fractional dimensions for web and constrained layouts.
      • Improved drag lifecycle tracking so drag state is reset consistently on drag start/end/cancel for both popup bodies and draggable headers.
      • Fixed auto-dismiss behavior to trigger onDismissed correctly when overlays are made invisible on dismiss.

4.2.0 #

  • s_packages dependency upgraded to ^3.3.0
    • pop_overlay stack layering upgrade
      • Added stackLevel to PopOverlayContent with default PopOverlayStackLevels.overlay.
      • Added stack APIs: getStackLevel, setStackLevel, bringToFront, sendToBack, and activeIdsByStackOrder.
      • Added stack constants helpers: PopOverlayStackLevels and PopOverlayStackLevelBands.
      • Replaced hard-coded priority-only ordering with stable effective-level sorting while preserving legacy priority bonuses for known critical overlays.
      • Improved reactivation/update flow for invisible overlays when offsetToPopFrom or stackLevel changes, including proper replacement cleanup.

4.1.0 #

  • s_packages dependency upgraded to ^3.1.0

4.0.0 #

  • s_packages dependency upgraded to ^3.0.0

3.3.0 #

  • s_packages dependency upgraded
  • Improved overlay bootstrap resolution to prefer the nearest overlay context before falling back to the root overlay.
  • Fixed popup positioning for framed/scaled layouts (notably web) by keeping overlays in the same coordinate space as the caller.

3.2.1 #

  • s_packages package dependency upgraded

3.2.0 #

  • s_packages dependency upgraded to ^1.3.0
  • PopOverlay.dismissAllPops added with optional includeInvisible and except parameters
  • PopOverlay.replacePop for atomically replacing an overlay with a new one
  • Added query helpers: isVisibleById, getVisiblePops, getInvisiblePops, visibleCount, invisibleCount
  • Added shouldDismissOnEscapeKey flag on PopOverlayContent to opt out of Escape key dismissal per overlay
  • Added onMadeVisible callback on PopOverlayContent (counterpart to onMadeInvisible)
  • Added onDragStart and onDragEnd callbacks on PopOverlayContent
  • Added dragBounds on PopOverlayContent to constrain dragging within a Rect
  • FrameDesign additions:
    • subtitle property for secondary text below the title
    • titleBarColor and bottomBarColor for per-popup color customization
    • headerTrailingWidgets for extra action widgets in the header

3.1.2 #

  • pop_overlay animation improvements:
    • Added smooth fade-in animations to all popup types; fixes flash issue in FrameDesign popups by smoothly animating appearance during auto dynamic dimension calculation time
    • Extended animation durations for smoother transitions: blur background (400ms → 600ms), barrier fade (0.4-0.5s → 0.8-1.0s), and animated size (300ms → 500ms)
    • Added borderRadius support to example demos for better visual consistency
    • Optimized popup entrance animations with Curves.fastEaseInToSlowEaseOut for more natural motion

3.1.1 #

  • s_packages upgraded: Replaced pop_overlay's use of MediaQuery.of(context).size with Size(100.w, 100.h) for better responsive sizing using the sizer package throughout the overlay system Improved cross-platform compatibility and responsive behavior

3.1.0 #

  • s_packages upgraded: PopOverlay.addPop(...) upgraded to allow pops to pop from a given offsetToPopFrom offset param, to a popPositionOffset param, with a given or default popPositionAnimationCurve and popPositionAnimationDuration.

3.0.2 #

  • fixed pub.dev's Documentation analysis issue

3.0.1 #

  • dependent on s_packages version ^1.1.2

3.0.0 #

  • package no longer holds the source code for it, but exports/exposes the s_packages package instead, which will hold this package's latest source code.
  • The only future changes to this package will be made via s_packages package dependency upgrades, in order to bring the new fixes or changes to this package

2.0.0 #

  • Breaking change: PopOverlay now self-installs its activator into the root overlay.
    • removed static public method PopOverlay.activator.
  • Added internal bootstrapper to ensure activation when PopOverlay.addPop(...) is called.

1.0.4 #

  • updated dependencies

1.0.3 #

  • updated pubspec.yaml - to specify all supported platforms

1.0.2 #

  • README updated

1.0.1 #

  • README and demo.gif updated

1.0.0 #

  • Initial release of pop_overlay package
  • Flexible pop-up overlay system with automatic stacking
  • Support for multiple overlays with customizable animations
  • Background blur effects and tap-to-dismiss functionality
  • Priority-based display ordering
  • Draggable pop-up support with position tracking
  • Framed Design system for consistent UI styling
  • Escape key listener for keyboard dismissal
  • Performance optimizations for smooth animations
  • Full customization of overlay appearance and behavior
0
likes
150
points
855
downloads

Publisher

unverified uploader

Weekly Downloads

A feature-rich package for displaying customizable pop-ups from any given widget. Featuring animated, draggable overlays, with optional background blur effects...

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, s_packages

More

Packages that depend on pop_overlay