Skip to main content
The Sort component lets users sort products according to different criteria, such as โ€œPrice Low to Highโ€ or โ€œMost popularโ€. Screenshot of a 'Filter and Sort' menu with sorting options, expandable 'Brand' and 'Size' sections, and 'Clear Filters' and 'See 106 Products' buttons.

Configure

To configure the Sort filter, edit the search_repository.dart file:
Usage
The SortIndex class is defined in the sort_index.dart file.

Code summary

To customize the filters view, edit these files:

Usage and props

Last modified on June 16, 2026