flutter_root_context_menu 0.4.2
flutter_root_context_menu: ^0.4.2 copied to clipboard
A customizable context menu package for Flutter with animation support, flexible styling, and web-like behavior.
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
showContextMenutoshowRootContextMenuto avoid naming conflicts - feat: Add
boxShadowparameter toContextMenuConfigfor 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
builderparameter toContextMenuAreafor correct context handling - feat: Add
iconWidthandiconSpacingconfig options for precise icon sizing - fix: Menu width calculation now uses actual content width instead of always using maxWidth
- docs: Add
ContextMenuAreaand disabled items documentation to README
0.3.0 #
- feat: Add
itemBorderRadiusfor rounded corners on menu item hover backgrounds - feat: Add
itemMarginfor spacing around individual menu items - feat: Add
dividerMarginfor vertical spacing around dividers - feat: Add
menuPaddingfor 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
screenPaddingparameter 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