Box for Exposed Dropdown Menu. Expected to contain TextField and ExposedDropdownMenuBoxScope.ExposedDropdownMenu as a content.
ExposedDropdownMenuBox
Common
@ExperimentalMaterialApi
@Composable
fun ExposedDropdownMenuBox(
expanded: Boolean,
onExpandedChange: (Boolean) -> Unit,
modifier: Modifier = Modifier,
content: @Composable ExposedDropdownMenuBoxScope.() -> Unit,
)
Parameters
| expanded | Whether Dropdown Menu should be expanded or not. |
| onExpandedChange | Executes when the user clicks on the ExposedDropdownMenuBox. |
| modifier | The modifier to apply to this layout |
| content | The content to be displayed inside ExposedDropdownMenuBox. |