popup_menu_2 library
A highly customizable popup menu plugin for Flutter.
This library provides widgets to display contextual menus and popup menus with flexible positioning, custom animations, and styling options.
Classes
- ContextPopupMenuItem
- Represents an individual item within a ContextualMenu.
- ContextualMenu
- A widget that displays a contextual popup menu when tapped.
- ContextualMenuState
- CustomPopupMenu
- A highly customizable popup menu widget that can be attached to any child widget.
- CustomPopupMenuController
- A controller to programmatically show, hide, or toggle the CustomPopupMenu.
- MenuItemWidget
- A widget that renders a single ContextPopupMenuItem with interaction states.
- PopupMenuControl
- Global configuration for the dimensions of the popup menu items and arrow.
Enums
- PreferredPosition
- Defines the preferred position of the popup menu relative to its anchor.
- PressType
- Defines the type of user interaction that triggers the popup menu.
Typedefs
- PopupMenuStateChanged = void Function(bool isShow)
- Callback triggered when the popup menu's visibility state changes.