🌈 Create new beautiful Compose Gradients with our new wesite ->
Compose Component

ExposedDropdownMenuBox

Material Design Exposed Dropdown Menu.

ExposedDropdownMenuBox

Source set: Common
@Composable
public 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.