Submenu
data class Submenu(val actionId: String, val id: Int, val contentDescription: String, val icon: ToolbarIcon, val state: ToolbarItemState = ToolbarItemState.Default, val position: ToolbarItem.ItemEdge = ItemEdge.Start, val children: PersistentList<ToolbarItem> = persistentListOf()) : ToolbarItem
A toolbar item that opens a submenu of nested children when tapped.
Constructors
Link copied to clipboard
constructor(actionId: String, id: Int, contentDescription: String, icon: ToolbarIcon, state: ToolbarItemState = ToolbarItemState.Default, position: ToolbarItem.ItemEdge = ItemEdge.Start, children: PersistentList<ToolbarItem> = persistentListOf())
Properties
Link copied to clipboard
Nested items shown when this submenu is opened.
Link copied to clipboard
Accessibility label and overflow-menu text for this item.
Link copied to clipboard
How this item renders its icon.
Link copied to clipboard
Which edge of the toolbar this item is grouped against.
Link copied to clipboard
Per-item dynamic state (enabled / selected / visible).