Filter Selection Bar
A bar containing Filter Chips.
Figma Link
https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=24607-736
- Web Components
- Flutter
Web component not available yet
Demo
Widgetbook
Inheritance
Object > DiagnosticableTree > Widget > StatelessWidget > ZetaStatelessWidget
Constructors
Constructor for the component ZetaFilterSelection
ZetaFilterSelection.new({Key? key, bool? rounded, required List<ZetaFilterChip> items, VoidCallback? onPressed, String? buttonSemanticLabel, IconData icon = ZetaIcons.filter})
Properties
| Name | Description | Type | Features |
|---|---|---|---|
| buttonSemanticLabel | Value passed into semantic label for the button. | String? | final |
| hashCode | The hash code for this object. | int | no setter inherited |
| icon | Icon for the filter button. | IconData | final |
| items | The filter items - list of ZetaFilterChip. | List<ZetaFilterChip> | final |
| key | Controls how one widget replaces another widget in the tree. | Key? | final inherited |
| onPressed | Called on filter button pressed. | VoidCallback? | final |
| rounded | Sets rounded or sharp border of the containing box and the icon style. | bool? | final inherited |
| runtimeType | A representation of the runtime type of the object. | Type | no setter inherited |