SelectableChipColors
-
Cmn
class SelectableChipColors
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.
Summary
Public constructors |
|
|---|---|
SelectableChipColors( |
Cmn
|
Public functions |
||
|---|---|---|
SelectableChipColors |
copy(Returns a copy of this SelectableChipColors, optionally overriding some of the values. |
Cmn
|
open operator Boolean |
Cmn
|
|
open Int |
hashCode() |
Cmn
|
Public constructors
SelectableChipColors
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
)
Public functions
copy
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”