Menu Dialog
fun MenuDialog(items: List<DialogMenuDetail>, modifier: Modifier = Modifier, title: String = "", onItemClick: (key: String) -> Unit = {}, onDismissRequest: () -> Unit = {})
Represents a dialog that shows a list of DialogMenuDetail items.
Since
1.0.0-beta.1
Parameters
items
The list of DialogMenuDetail items.
modifier
The modifier to be applied to the view.
title
The title of the dialog. Defaults to an empty string.
on Item Click
The handler for when the user clicks on the item.
on Dismiss Request
The handler for when the user dismisses the dialog.