SelectableChipColors

@Immutable
class SelectableChipColors(containerColor: Color, labelColor: Color, leadingIconColor: Color, trailingIconColor: Color, disabledContainerColor: Color, disabledLabelColor: Color, disabledLeadingIconColor: Color, disabledTrailingIconColor: Color, selectedContainerColor: Color, disabledSelectedContainerColor: Color, selectedLabelColor: Color, selectedLeadingIconColor: Color, selectedTrailingIconColor: Color)

Represents the container and content colors used in a selectable chip in different states.

See FilterChipDefaults.filterChipColors and FilterChipDefaults.elevatedFilterChipColors for the default colors used in FilterChip.

Constructors

Link copied to clipboard
constructor(containerColor: Color, labelColor: Color, leadingIconColor: Color, trailingIconColor: Color, disabledContainerColor: Color, disabledLabelColor: Color, disabledLeadingIconColor: Color, disabledTrailingIconColor: Color, selectedContainerColor: Color, disabledSelectedContainerColor: Color, selectedLabelColor: Color, selectedLeadingIconColor: Color, selectedTrailingIconColor: Color)

Functions

Link copied to clipboard
fun copy(containerColor: Color = this.containerColor, labelColor: Color = this.labelColor, leadingIconColor: Color = this.leadingIconColor, trailingIconColor: Color = this.trailingIconColor, disabledContainerColor: Color = this.disabledContainerColor, disabledLabelColor: Color = this.disabledLabelColor, disabledLeadingIconColor: Color = this.disabledLeadingIconColor, disabledTrailingIconColor: Color = this.disabledTrailingIconColor, selectedContainerColor: Color = this.selectedContainerColor, disabledSelectedContainerColor: Color = this.disabledSelectedContainerColor, selectedLabelColor: Color = this.selectedLabelColor, selectedLeadingIconColor: Color = this.selectedLeadingIconColor, selectedTrailingIconColor: Color = this.selectedTrailingIconColor): SelectableChipColors

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

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int