NavigationDrawerItem

@Composable
fun NavigationDrawerItem(    icon: ImageVector,     label: String,     isSelected: Boolean = false,     onClick: () -> Unit? = null,     activeColors: NavigationDrawerItemColors = NavigationDrawerItemDefaults.activeColors,     inactiveColors: NavigationDrawerItemColors = NavigationDrawerItemDefaults.inactiveColors,     shape: RoundedCornerShape = NavigationDrawerItemDefaults.shape)

A navigation item that is meant to be used within a Navigation Drawer.

Parameters

icon

the icon to be used for the item.

label

the label the corresponds to the item.

isSelected

determines whether the item is selected.

onClick

the callback to run when the item is clicked.

activeColors

the NavigationDrawerItemColors to use when the button is active.

inactiveColors

the NavigationDrawerItemColors to use when the button is inactive.

shape

the shape of the navigation item.