A single item in a side navigation menu.
icon: () -> Unit
A composable function that represents the icon of the item.
onClick: () -> Unit
Callback invoked when the item is clicked.
primaryLabel: String
The primary label text of the item.
modifier: Modifier
Modifier to be applied to the item.
interactionSource: MutableInteractionSource
The interaction source for the clickable behavior.
secondaryLabel: String?
The secondary label text of the item (optional).
collapsed: Boolean
Whether the side navigation is collapsed or expanded.
dense: Boolean
Whether the item should be displayed in a dense format.
showExpandedIcon: Boolean
Whether to show the icon when expanded.
selected: Boolean
Whether the item is selected or not.
primaryTextStyle: TextStyle
The TextStyle to be used for the primary label.
secondaryTextStyle: TextStyle
The TextStyle to be used for the secondary label.
selectedBackgroundColor: Color?
The background color to use when the item is selected. Defaults to null, which uses the default background color.