components/menus/models/m3e_menu_entry library

Classes

M3EMenuDivider
Horizontal rule between menu sections inside one elevated surface.
M3EMenuEntry
Standard action row (Compose DropdownMenuItem).
M3EMenuGroup
Elevated surface / subgroup of items with optional section label.
M3EMenuNode
A node in an M3EMenu content tree.
M3EMenuSelectable
Single-select row with a trailing check when selected.
M3EMenuSubmenu
Cascading submenu opened from a parent row.
M3EMenuToggleable
Toggleable row (Compose checked menu item).
M3EMenuWidget
Row whose body is an arbitrary child (host-provided content).

Enums

M3EMenuItemShape
Per-item corner shape within a menu group (Compose MenuDefaults.itemShape).

Functions

m3eMenuPartitionSurfaces(List<M3EMenuNode> nodes) List<M3EMenuGroup>
Partitions top-level menu nodes into elevated surface groups.