🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

NavigationBarItemColors

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

Source set: Common
public class NavigationBarItemColors public constructor(
    public val selectedIconColor: Color,
    public val selectedTextColor: Color,
    public val selectedIndicatorColor: Color,
    public val unselectedIconColor: Color,
    public val unselectedTextColor: Color,
    public val disabledIconColor: Color,
    public val disabledTextColor: Color,
)

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

Parameters

selectedIconColor the color to use for the icon when the item is selected.
selectedTextColor the color to use for the text label when the item is selected.
selectedIndicatorColor the color to use for the indicator when the item is selected.
unselectedIconColor the color to use for the icon when the item is unselected.
unselectedTextColor the color to use for the text label when the item is unselected.
disabledIconColor the color to use for the icon when the item is disabled.
disabledTextColor the color to use for the text label when the item is disabled.

Functions

copy

Source set: Common
public fun copy(
        selectedIconColor: Color = this.selectedIconColor,
        selectedTextColor: Color = this.selectedTextColor,
        selectedIndicatorColor: Color = this.selectedIndicatorColor,
        unselectedIconColor: Color = this.unselectedIconColor,
        unselectedTextColor: Color = this.unselectedTextColor,
        disabledIconColor: Color = this.disabledIconColor,
        disabledTextColor: Color = this.disabledTextColor,
    ): NavigationBarItemColors

Returns a copy of this NavigationBarItemColors, optionally overriding some of the values. This uses the Color.Unspecified to mean “use the value from the source”

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int

Content updated: