TopBarDropdownMenuIcon

fun TopBarDropdownMenuIcon(iconTint: Color = Color.Unspecified, dropDownMenu: @Composable (showMenu: Boolean, onDismissRequest: () -> Unit) -> Unit)

A composable function that renders an icon button which toggles a dropdown menu.

Parameters

iconTint

The tint color for the dropdown icon. Default is Color.Unspecified.

dropDownMenu

A composable function that renders the dropdown menu, receiving the current state (shown or hidden) and a callback to dismiss the menu.