flutter_overlay_menu 0.1.1 copy "flutter_overlay_menu: ^0.1.1" to clipboard
flutter_overlay_menu: ^0.1.1 copied to clipboard

A highly customizable overlay menu package for Flutter. Provides showOverlayMenu() function to display animated menus with smart positioning and Material Design styling.

Changelog #

0.1.1 #

Added #

  • Pinned Button: Fixed action button that appears at top/bottom of menu based on opening direction
    • pinnedButton parameter in showOverlayMenu()
    • pinnedButtonHeight and showPinnedButtonDivider in OverlayMenuStyle
    • Direction-aware positioning (top when menu opens below, bottom when opens above)
    • Development-mode assertion to ensure height is specified
  • Empty State: Custom widget display when menu has no items
    • emptyWidget parameter in showOverlayMenu() and OverlayMenu
  • Example App: Added "Pinned Button" preset to showcase the new feature

Documentation #

  • Updated README with pinned button and empty state examples
  • Added usage warnings for pinned button height requirements

0.1.0 #

Initial release of flutter_overlay_menu.

Features #

  • Core API: showOverlayMenu() with type-safe generics and smart positioning
  • Widgets: OverlayMenu, OverlayMenuItem<T>, OverlayMenuDivider
  • Comprehensive Styling:
    • Menu: size constraints, colors, elevation, border, padding, scrollbar theme
    • Items: layout, colors (hover/splash/highlight), border, text/icon styling, selected state
    • Divider: height, thickness, color, indents
  • Positioning: Auto direction (above/below), horizontal alignment (start/center/end), custom offset
  • Animation: Customizable duration, curves, scale & fade transitions
  • Item Features: Leading/trailing widgets, enabled/disabled states, value or callback modes
  • Scrollbar: Auto-scroll when needed, fully customizable theme
  • Developer Experience: Type-safe API, Material Design compliance, theme-aware defaults
  • Example App: Interactive playground with 8 presets
0
likes
160
points
207
downloads

Publisher

unverified uploader

Weekly Downloads

A highly customizable overlay menu package for Flutter. Provides showOverlayMenu() function to display animated menus with smart positioning and Material Design styling.

Repository (GitHub)
View/report issues

Topics

#menu #overlay #context-menu #popup

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_overlay_menu