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.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: