flutter_root_context_menu 0.4.3 copy "flutter_root_context_menu: ^0.4.3" to clipboard
flutter_root_context_menu: ^0.4.3 copied to clipboard

A customizable context menu package for Flutter with animation support, flexible styling, and web-like behavior.

0.4.3 #

  • fix: Support async callbacks in onTap to prevent UI blocking when menu items execute asynchronous operations
  • fix: Execute onTap callbacks in microtask to avoid blocking the event loop during heavy synchronous operations
  • fix: Improve menu closing behavior - clicking outside the menu now closes it immediately without delay

0.4.2 #

  • fix: Fix menu item onTap callback and prevent new menu from being immediately closed

0.4.1 #

  • fix: Fix menu item onTap callback not being triggered due to pointer event handling

0.4.0 #

  • BREAKING: Rename showContextMenu to showRootContextMenu to avoid naming conflicts
  • feat: Add boxShadow parameter to ContextMenuConfig for custom shadow styling
  • feat: Add playground controls for customizing box shadow (blur, spread, offset, opacity, color)
  • fix: Ensure Material widget is present when using custom boxShadow to prevent InkWell errors

0.3.1 #

  • feat: Add builder parameter to ContextMenuArea for correct context handling
  • feat: Add iconWidth and iconSpacing config options for precise icon sizing
  • fix: Menu width calculation now uses actual content width instead of always using maxWidth
  • docs: Add ContextMenuArea and disabled items documentation to README

0.3.0 #

  • feat: Add itemBorderRadius for rounded corners on menu item hover backgrounds
  • feat: Add itemMargin for spacing around individual menu items
  • feat: Add dividerMargin for vertical spacing around dividers
  • feat: Add menuPadding for padding inside menu container
  • feat: Add playground controls for all new styling options
  • fix: Improve menu size calculation to include all margins and paddings

0.2.0 #

  • feat: Add screenPadding parameter to control minimum distance from screen edges
  • feat: Add playground controls for adjusting screen padding in real-time

0.1.0 #

Initial release with core features:

  • Manual trigger context menu with showRootContextMenu()
  • Flexible icon support (Material Icons, SVG, custom widgets)
  • 8 built-in animations + custom animation support
  • Customizable styling (colors, sizes, elevation, border radius)
  • Adjustable menu width (minWidth, maxWidth)
  • Web-like click behavior (single click closes menu and triggers action)
  • Automatic overflow prevention
  • Interactive example playground
0
likes
160
points
224
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable context menu package for Flutter with animation support, flexible styling, and web-like behavior.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_root_context_menu