Package-level declarations

Functions

Link copied to clipboard
fun DropdownMenu(expanded: Boolean, onDismissRequest: () -> Unit, modifier: Modifier = Modifier, offset: DpOffset = DpOffset(0.dp, 0.dp), properties: PopupProperties = PopupProperties(focusable = true), scrollState: ScrollState = rememberScrollState(), content: @Composable ColumnScope.() -> Unit)
Link copied to clipboard
fun DropdownMenuGroupItem(title: @Composable () -> Unit, modifier: Modifier = Modifier, content: @Composable ColumnScope.() -> Unit)

A group of DropdownMenuItem with a title label to describe all items from this group.

Link copied to clipboard
fun DropdownMenuItem(text: @Composable () -> Unit, onClick: () -> Unit, modifier: Modifier = Modifier, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, enabled: Boolean = true, contentPadding: PaddingValues = PaddingValues( horizontal = 16.dp, vertical = 8.dp, ), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })