FilterChip
Renders a Material 3 filter chip with a toggleable selected state, text as its label and optional leadingIcon / trailingIcon. variant picks the visual style — default (outlined) or elevated. Tapping the chip flips selected locally on the client (no round trip needed for the new value to take effect), then dispatches onCheck (when it becomes selected) or onUncheck (when it becomes unselected), always followed by onCheckChanged. The current selected value can be read from this tile by its id via GetData.
Parameters
Unique identifier of the tile. Defaults to a random id.
Events owned by this tile, wired to its triggers (onCheck, onUncheck, onCheckChanged).
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.
Whether the chip starts selected. Defaults to false.
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 — defaultFilterChip (outlined) or elevatedFilterChip. Defaults to default.