components/menus/m3e_menus
library
Classes
-
A Material 3 Expressive menu (Compose
DropdownMenu + DropdownMenuPopup).
-
Resolved colors for one M3EMenuColorStyle.
-
Renders a tree of M3EMenuNodes inside one elevated menu surface.
-
Horizontal rule between menu sections inside one elevated surface.
-
Horizontal divider between menu items inside one elevated surface.
-
Standard action row (Compose
DropdownMenuItem).
-
Elevated surface / subgroup of items with optional section label.
-
A single interactive row inside an M3EMenu popup.
-
A node in an M3EMenu content tree.
-
Computed placement for an anchored menu popup.
-
Collision-aware menu placement (Compose popup position provider).
-
Overlay surface for showM3EMenu / M3EMenu (Compose
DropdownMenuPopup).
-
Single-select row with a trailing check when selected.
-
Cascading submenu opened from a parent row.
-
Theme values for
M3EMenu (Compose MenuDefaults expressive tokens).
-
Toggleable row (Compose checked menu item).
-
Row whose body is an arbitrary child (host-provided content).
Enums
-
Preferred placement of a menu relative to its anchor.
-
Standard vs vibrant container color mapping for M3EMenu.
-
Per-item corner shape within a menu group (Compose
MenuDefaults.itemShape).
Extensions
-
Converts M3ESpring to a motor
SpringMotion for menu animations.
Functions
-
Partitions top-level menu nodes into elevated surface groups.
-
Shows an expressive menu popup anchored to
anchor.
Typedefs
-
Builds the anchor for an M3EMenu, given a callback to open the menu.
-
Callback to open a cascading submenu from an item rect.
-
Callback when a menu node produces a selection result.