NavigationDrawerItemColors

Interface

Common
interface NavigationDrawerItemColors

Represents the colors of the various elements of a drawer item.

Functions

@Composable fun iconColor(selected: Boolean): State<Color>

Represents the icon color for this item, depending on whether it is selected.

Parameters

selectedwhether the item is selected
@Composable fun textColor(selected: Boolean): State<Color>

Represents the text color for this item, depending on whether it is selected.

Parameters

selectedwhether the item is selected
@Composable fun badgeColor(selected: Boolean): State<Color>

Represents the badge color for this item, depending on whether it is selected.

Parameters

selectedwhether the item is selected
@Composable fun containerColor(selected: Boolean): State<Color>

Represents the container color for this item, depending on whether it is selected.

Parameters

selectedwhether the item is selected