flutter_preview_context_menu 0.2.0
flutter_preview_context_menu: ^0.2.0 copied to clipboard
A flexible WhatsApp-style context menu for Flutter with custom previews, top content, actions, animation, and viewport-aware overflow handling.
0.2.0 #
- Added keyboard-aware focus handling when opening and closing a context menu.
- Added smoother entrance animation for top content and the actions panel.
- Added
ContextMenuActionandContextMenuRegion.actionChildrenfor widget-based custom actions with regular Flutter keys. - Removed the action identifier requirement from
ContextMenuActionData. - Updated documentation with the focus behavior and simplified action examples.
0.1.0 #
- Initial release.
- Added a long-press context menu region for any widget.
- Added customizable action rows with icons, descriptions, trailing widgets, disabled state, separators, and destructive styling.
- Added optional custom previews and top content.
- Added viewport-aware layout with configurable overflow strategies.
- Added optional preview animation from the pressed widget position.