NavigationDrawerItemColors


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

Summary

Public functions

State<Color>

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

Cmn
State<Color>

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

Cmn
State<Color>

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

Cmn
State<Color>

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

Cmn

Public functions

badgeColor

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

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

Parameters
selected: Boolean

whether the item is selected

containerColor

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

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

Parameters
selected: Boolean

whether the item is selected

iconColor

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

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

Parameters
selected: Boolean

whether the item is selected

textColor

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

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

Parameters
selected: Boolean

whether the item is selected