Menu Item
Types
Link copied to clipboard
A leaf node that executes an action when selected.
Link copied to clipboard
data class DynamicSubmenu(val label: String, val childrenProvider: suspend () -> List<AudioMenu.MenuItem>) : AudioMenu.MenuItem
A sub-menu whose children are loaded lazily when the user enters it. Useful for content that may change at runtime (e.g. saved routes).
Link copied to clipboard
A sub-menu with a fixed list of children.