AssistChip
Renders a Material 3 assist chip displaying text as its label, with optional leadingIcon and trailingIcon. variant picks the visual style — default (outlined) or elevated. The chip is stateless (no selected state) and both icons are purely decorative — tapping either fires the same chip-level onClick. Dispatches onClick when tapped.
Parameters
Unique identifier of the tile. Defaults to a random id.
Events owned by this tile, wired to its triggers (e.g. onClick).
Layout/appearance modifiers (size, padding, background, etc). Defaults to wrapping its content.
Whether the tile is shown, hidden but occupies space, or removed from layout. Defaults to visible.
Terms used by an ancestor's search/filter to decide whether this tile matches. Defaults to none.
Label displayed on the chip.
Optional icon rendered before the text. Defaults to none.
Optional icon rendered after the text. Defaults to none.
Whether the chip is interactive. Defaults to true.
Visual style of the chip — defaultAssistChip (outlined) or elevatedAssistChip. Defaults to default.