ExposedDropdownMenu
fun ExposedDropdownMenuBoxScope.ExposedDropdownMenu(expanded: Boolean, onDismissRequest: () -> Unit, modifier: Modifier = Modifier, scrollState: ScrollState = rememberScrollState(), matchTextFieldWidth: Boolean = true, content: @Composable DropdownMenuItemColumnScope.() -> Unit)
Popup which contains content for Exposed Dropdown Menu. Should be used inside the content of ExposedDropdownMenuBox.
Parameters
expanded
whether the menu is expanded
onDismissRequest
called when the user requests to dismiss the menu, such as by tapping outside the menu's bounds
modifier
the Modifier to be applied to this menu
scrollState
a ScrollState used by the menu's content for items vertical scrolling
matchTextFieldWidth
whether the menu's width should be forcefully constrained to match the width of the text field to which it's attached.
content
the content of the menu