androidx.compose.material3
NavigationDrawerItemColors
Interface
No hand-written docs yet.
Represents the colors of the various elements of a drawer item.
interface NavigationDrawerItemColors
How to get one
Ready-made values and functions that return it
Used by
Parameters that take a NavigationDrawerItemColors.
Functions
iconColor
@Composable
fun iconColor(selected: Boolean): State<Color>
Represents the icon color for this item, depending on whether it is selected.
textColor
@Composable
fun textColor(selected: Boolean): State<Color>
Represents the text color for this item, depending on whether it is selected.
badgeColor
@Composable
fun badgeColor(selected: Boolean): State<Color>
Represents the badge color for this item, depending on whether it is selected.
containerColor
@Composable
fun containerColor(selected: Boolean): State<Color>
Represents the container color for this item, depending on whether it is selected.
Library docs
Represents the colors of the various elements of a drawer item.