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

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

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, padding, borderRadius, textStyle, 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
0
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

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_show_menu