FloatingNavigationBarItem

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

A FloatingNavigationBarItem that is suitable for FloatingNavigationBar.

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 FloatingNavigationBarItem.

enabled

Whether the item is enabled.