FUIPopupMenuIconButton

The FUIPopupMenuIconButton is a button that, upon tap/clicking, displays a list of clickable options.
It is most effective when placed at the top corner of FUIPane, FUIPanel, or any widgets that necessitate a list of popup options.
Widget Class Location
The FUIPopupMenuIconButton widget classes could be found in the directory of:
Class Details
Class Name | Dart File | Description |
|---|---|---|
| fui_popupmenu.dart | The widget class of the popup icon button. |
| fui_popupmenu.dart | The widget class for the menu item. |
Widget Theme Location
The FUIPopupMenuTheme class is the theme class holds the default theme variables/values.
Accessing the theme
To access the theme class object, do the following:
Usage

This comprehensive example demonstrates the seamless integration of both the FUIPopupMenuIconButton and FUIPopupMenuItem components.
Consider a FUIPanel that incorporates the FUIPopupMenuIconButton as a header button.
FUIPopupMenuItem Parameters
Parameters | Description |
|---|---|
Icon? icon; | The icon for the menu item. |
FUIPopupMenuItemIconPosition iconPosition | The position of the menu item icon (either on the left or the right). |
Widget label | The menu item label. |
EdgeInsets? padding | The padding for the menu item. |
VoidCallback? onTap | Callback method (if any). |
bool enabled | Toggle if the menu item is enabled or disabled. |
FUIPopupMenuIconButton Parameters
Parameters | Description |
|---|---|
Icon icon | The icon for the popup menu button. |
List\<FUIPopupMenuItem\> fuiPopupMenuItemList | The list of menu items (FUIPopupMenuItem). |