Advanced Search

Loading preview

Starting the Flutter app

Multiple filters - text, date range, category, checkboxes

Get the source

Add it to your project

Copies the Dart source into your app, so you own it. Flutter SDK only, no extra packages.

First time? Run dart pub global activate fluttertemplates_dev, or read the CLI guide.

How it works

_category and _dateRange are each updated by a DropdownButtonFormField, and _options is a Set behind the three FilterChips, starting with Option C. Search requires a query, then passes it and the filters to onSearch, or shows a demo SnackBar without it. No results area exists.

Adapting it

  • Run the query from onSearch, then show results below or on a new route.
  • Rename Option A through Option C to filters that mean something in your app.