NavigationBarItem

fun RowScope.NavigationBarItem(selected: Boolean, onClick: () -> Unit, icon: ImageVector, label: String, modifier: Modifier = Modifier, enabled: Boolean = true)

A NavigationBarItem that is suitable for NavigationBar.

Parameters

selected

Whether the item is selected.

onClick

The callback when the item is clicked.

icon

The icon of the item.

label

The label of the item.

modifier

The modifier to be applied to the NavigationBarItem.

enabled

Whether the item is enabled.