flutter_show_menu 0.6.1 copy "flutter_show_menu: ^0.6.1" to clipboard
flutter_show_menu: ^0.6.1 copied to clipboard

OverlayEntry-based showMenu replacement. Position menus top, bottom, left, or right of any widget with start, center, end alignment.

0.6.1 #

  • feat: backgroundColor and selectedBackgroundColor on OverlayMenuItemStyle — painted on the ink layer so InkWell hover/splash renders on top
  • fix: Wrap each item in Material + Ink so hover/splash work correctly with item background colors
  • fix: Scrollbar now hugs the right edge of the menu regardless of padding

0.6.0 #

  • BREAKING: Remove padding and textStyle from OverlayMenuItemStyle — handle padding and text styling directly in the item's child widget
  • BREAKING: Remove padding from OverlayMenuItem — use Padding widget inside child instead

0.5.0 #

  • BREAKING: Remove selected from OverlayMenuItem — use initialValue on showOverlayMenu instead
  • BREAKING: Remove OverlayMenuSelectedStyle and selectedStyle from OverlayMenuStyle
  • BREAKING: Remove prefixBuilder from OverlayMenuItem and OverlayMenuStyle
  • BREAKING: Remove prefixSpacing from OverlayMenuStyle
  • feat: initialValue parameter for showOverlayMenu — auto-scrolls to the matching item when the menu opens

0.4.1 #

  • feat: height parameter for OverlayMenuDivider and OverlayMenuDividerStyle — control total divider height independently from line thickness
  • feat: prefixSpacing parameter for OverlayMenuStyle — configurable gap between prefix widget and item child (default 12.0)

0.4.0 #

  • BREAKING: Move padding from showOverlayMenu top-level parameter into OverlayMenuStyle.padding
  • BREAKING: Remove menuPadding from OverlayMenuButton (use style: OverlayMenuStyle(padding: ...) instead)
  • feat: overlayChild parameter — full-screen overlay above the barrier (e.g. drag-to-move area)

0.3.1 #

  • feat: Hide header/footer dividers when the items list is empty
  • docs: Translate all comments and doc comments to English
  • docs: Add library-level doc comment for pub.dev API docs
  • docs: Add doc comments to MenuPosition and MenuAlignment enum values
  • docs: Add parameter descriptions to showOverlayMenu
  • fix: Resolve broken dartdoc references (OverlayMenuStyle.itemHeight, dividerColor, dividerThickness)

0.3.0 #

  • feat: Auto-close menu on route pop or new route push — no more orphaned overlays on navigation
  • feat: OverlayMenuController — programmatically close a menu with safe idempotent close() / isClosed check
  • feat: controller parameter for showOverlayMenu

0.2.0 #

  • feat: header/footer fixed entries for showOverlayMenu and OverlayMenuButton — pinned above/below the scrollable items area
  • feat: OverlayMenuHeaderStyle/OverlayMenuFooterStyle — independent styling for header/footer items (same options as OverlayMenuItemStyle)
  • feat: OverlayMenuDividerStyle now supports indent/endIndent

0.1.1 #

  • feat: Auto-scroll to selected item when menu opens (applies when maxHeight is set)

0.1.0 #

  • feat: showOverlayMenu — imperative function API replacing Flutter's showMenu
  • feat: OverlayMenuButton — declarative widget wrapper for tap-to-show menus
  • feat: OverlayMenuEntry sealed class — base type for menu entries (OverlayMenuItem, OverlayMenuDivider)
  • feat: OverlayMenuItem — menu item with value, child, enabled, onTap, selected state, prefixBuilder
  • feat: OverlayMenuDivider — horizontal divider entry with color, thickness, indent
  • feat: OverlayMenuStyle — grouped style options for menu container, items, selection, dividers, scrollbar
    • OverlayMenuItemStyle — height, borderRadius, hover/splash/highlight/focus colors, mouseCursor
    • OverlayMenuSelectedStyle — backgroundColor, textStyle, border for selected items
    • OverlayMenuDividerStyle — color, thickness
    • OverlayMenuScrollbarStyle — thumbColor, thickness, radius, thumbVisibility
  • feat: MenuPosition (top, bottom, left, right) — controls which side of the target the menu appears
  • feat: MenuAlignment (start, center, end) — controls cross-axis alignment
  • feat: maxHeight with automatic scroll when content overflows
  • feat: prefixBuilder — per-item or style-level prefix widget with selected state
  • feat: Fade + scale enter/exit animation with configurable duration and curve
  • feat: Automatic screen-edge flip when menu overflows viewport
  • feat: Barrier dismiss support with optional barrier color
2
likes
160
points
303
downloads

Publisher

unverified uploader

Weekly Downloads

OverlayEntry-based showMenu replacement. Position menus top, bottom, left, or right of any widget with start, center, end alignment.

Repository (GitHub)
View/report issues

Topics

#menu #overlay #popup #widget

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_show_menu