SelectableChipColors
-
Cmn
@ExperimentalMaterialApi
interface SelectableChipColors
Represents the background and content colors used in a selectable chip in different states. FilterChip, choice chip and input chip are types of selectable chips. See ChipDefaults.filterChipColors for the default colors used in a filled FilterChip. See ChipDefaults.outlinedFilterChipColors for the default colors used in a outlined FilterChip.
Summary
Public functions |
||
|---|---|---|
State<Color> |
@ComposableRepresents the background color for this chip, depending on |
Cmn
|
State<Color> |
@ComposableRepresents the content color for this chip, depending on |
Cmn
|
State<Color> |
@ComposableRepresents the leading icon color for this chip, depending on |
Cmn
|
Public functions
backgroundColor
@Composable
fun backgroundColor(enabled: Boolean, selected: Boolean): State<Color>
Represents the background color for this chip, depending on enabled and selected.
contentColor
@Composable
fun contentColor(enabled: Boolean, selected: Boolean): State<Color>
Represents the content color for this chip, depending on enabled and selected.
leadingIconColor
@Composable
fun leadingIconColor(enabled: Boolean, selected: Boolean): State<Color>
Represents the leading icon color for this chip, depending on enabled and selected.