Interface

NavigationDrawerItemColors

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

Source set: Common

Added in 1.5.0-alpha17

interface NavigationDrawerItemColors

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

Functions

iconColor

Added in 1.5.0-alpha17

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

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

Parameters

selected whether the item is selected

textColor

Added in 1.5.0-alpha17

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

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

Parameters

selected whether the item is selected

badgeColor

Added in 1.5.0-alpha17

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

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

Parameters

selected whether the item is selected

containerColor

Added in 1.5.0-alpha17

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

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

Parameters

selected whether the item is selected