Skip to content
pubscout

dropdown_search

8.1.0, released 8 weeks ago by salimdev.ovh

A simple, reactive, and highly customizable Flutter dropdown with search and multi-mode support.

WASM-readyUses material_ui
$ flutter pub add dropdown_search
Source repository

What it does

Provides a searchable dropdown widget with support for sync and async data loading, infinite scrolling, single and multi-selection, and multiple popup modes including menu, dialog, and bottom sheet.

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

Use it when

  • You need a dropdown that supports searching through items.
  • You need to load dropdown items asynchronously from an API or database with infinite scrolling.
  • You need different popup presentation styles like menus, dialogs, or bottom sheets.

Skip it when

  • You only need the built-in, basic Flutter DropdownButton without search or advanced customization.
  • You need a form builder package that handles an entire form schema.

Strengths

  • Supports both synchronous and asynchronous item loading.
  • Includes infinite scrolling and lazy loading capabilities.
  • Multiple display modes (menu, dialog, bottomSheet, modalBottomSheet, autocomplete).
  • Adaptive platform UI supporting Material and Cupertino.

Weaknesses

  • API updates in recent major versions require explicit SDK and dependency migrations.
  • May be overly heavy for very simple static selection lists.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Not documented

DropdownSearch<String>(
  items: (f, cs) => ["Item 1", 'Item 2', 'Item 3', 'Item 4'],
  popupProps: PopupProps.menu(
    disabledItemFn: (item) => item == 'Item 3',
    fit: FlexFit.loose
  ),
)

Alternatives

Packages that do the same job and could replace dropdown_search.

Works with

Packages commonly used together with dropdown_search: ones it builds on, ones built on it, and its own family.