ChromiaPopupMenu
A customizable popup menu component that displays a list of menu items.Basic Usage
Parameters
List of menu items
Called when an item is selected
Custom child widget (e.g., button)
Icon to display (used if child is null)
Initial selected value
Offset of the menu from the button
ChromiaMenuItem
A single menu item.Constructor
Parameters
Value of the item
Label text
Leading icon
Trailing widget (e.g., shortcut text)
Whether the item is enabled
Whether this is a divider
Creating a Divider
Example with Dividers
ChromiaContextMenu
A context menu that shows on long press or right click.Basic Usage
Parameters
List of menu items
Called when an item is selected
Child widget that triggers the context menu
ChromiaMenuButton
A dropdown menu button with a label and optional icon.Basic Usage
Parameters
List of menu items
Called when an item is selected
Button label
Currently selected value
Leading icon
