NavigationDrawerItem
Material Design navigation drawer item.
A NavigationDrawerItem represents a destination within drawers, either ModalNavigationDrawer, PermanentNavigationDrawer or DismissibleNavigationDrawer.
Parameters
text label for this item
whether this item is selected
called when this item is clicked
the Modifier to be applied to this item
optional icon for this item, typically an Icon
optional badge to show on this item from the end side
NavigationDrawerItemColors that will be used to resolve the colors used for this item in different states. See NavigationDrawerItemDefaults.colors.
an optional hoisted MutableInteractionSource for observing and emitting Interactions for this item. You can use this to change the item's appearance or preview the item in different states. Note that if null
is provided, interactions will still happen internally.