Skip to main content
Configure your filters with FacetList fields in the search_repository.dart file. Behind the scenes, the FacetList uses a FilterState to listen to each change and a HitsSearcher to update the search state and return each from search operations. You can refine these facets:

Brand filter

Use the Brand filter to only show search results from one or more brands. Screenshot of a 'Brand' filter with checkboxes for various brand names, and buttons for 'Clear Filters' and 'See 52 Products'.

Configure the brand filter

To configure the brand filter, edit the search_repository.dart file:
Dart

Code summary

You can customize the filters view in brand_selector_view.dart file.

Usage and props

Size filter

Use the Size filter to only show search results matching one or more product sizes. Screenshot of a 'Size' filter with options 'L', 'M', 'S', 'XL', 'XXL', 'XXXL', and sizes '0' to '58', with 'M' and 'S' selected.

Configure the size filter

To configure the size filter, edit the search_repository.dart file:
Dart

Code summary

You can customize the filters view in size_selector_view.dart file.

Usage and props

Last modified on May 19, 2026