Skip to content
pubscout

search_choices

2.3.1, released 2 years ago by jod.li

Customizable searchable single or multiple choice dropdown widget for Flutter.

WASM-ready
$ flutter pub add search_choices
Source repository

What it does

Provides a widget to search through single or multiple choice lists inside a dialog box or menu. It supports pagination, future/network/API searches, sorting, and filtering.

AI-written summary of version 2.3.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a dropdown or picker that allows searching through a large list of items.
  • You require single or multiple selection support with custom filters, sorting, or pagination.
  • You need asynchronous/future-based data loading for dropdown choices.

Skip it when

  • You only need a simple, standard non-searchable dropdown menu.
  • You require complex form validation frameworks beyond standard FormField validation.

Strengths

  • Highly customizable UI and dialog layout.
  • Supports future/API searches, pagination, and custom filters/sorting.
  • Handles both single and multiple selection modes.

Weaknesses

  • Large API surface with many optional parameters which can increase complexity.
  • Documentation for advanced use cases primarily relies on example projects.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
SearchChoices.single(
  items: [
    DropdownMenuItem(
      child: Text("Item 1"),
      value: 1,
    ),
    DropdownMenuItem(
      child: Text("Item 2"),
      value: 2,
    ),
  ],
  value: 1,
  hint: "Select one",
  searchHint: "Search",
  onChanged: (value) {},
  isExpanded: true,
)

Alternatives

Packages that do the same job and could replace search_choices.