Chip
Basic chip.
Parameters
the content of the ButtonChip, typically a Text. Text color is defined by ChipColors.contentColor and ChipVibrants.contentVibrant.
called when the chip is clicked.
Modifier to be applied to the chip.
Optional icon at the start of the chip, preceding the content text.
Optional icon at the end of the chip, following the content text.
When disabled, chip will not respond to user input. It will also appear visually disabled to accessibility services.
the colors for content including label, leadingIcon, trailingIcon and background of chip.
the size of chip.
padding for content of this chip.
the gap between leadingIcon,label,trailingIcon.
the shape of this chip.
the MutableInteractionSource representing the stream of Interactions for this chip.
See also
Basic chip.
Parameters
the content of the ButtonChip, typically a Text. Text color is defined by ChipColors.contentColor and ChipVibrants.contentVibrant.
called when the chip is clicked.
Modifier to be applied to the chip.
Optional icon at the start of the chip, preceding the content text.
Optional icon at the end of the chip, following the content text.
When disabled, chip will not respond to user input. It will also appear visually disabled to accessibility services.
the colors for content including label, leadingIcon, trailingIcon and background of chip.
The vibrants for content including label, leadingIcon, trailingIcon and background of chip.
the size of chip.
padding for content of this chip.
the gap between leadingIcon,label,trailingIcon.
the shape of this chip.
the MutableInteractionSource representing the stream of Interactions for this chip.