simple_search_dropdown
9.0.0, released 8 days ago by an unverified publisher
Searchable single and multi-select dropdowns with accent‑insensitive search and CRUD support
What it does
Provides two widgets, SearchDropDown and MultipleSearchDropDown, that let users pick one or many items from a list. The widgets support filtering, adding, editing, deleting items, keyboard navigation, theming, and localization.
AI-written summary of version 9.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a dropdown that can handle long lists and allow users to search quickly
- You want to let users create, edit or delete items directly in the dropdown
- You need Material 3 theming and accessibility features out of the box
Skip it when
- You only need a simple static dropdown with no search or CRUD
- You are building a highly custom UI that requires full control over the list rendering
Strengths
- Accent‑ and case‑insensitive search by default
- Controller‑driven API that keeps its own state
- Built‑in theming and localization support
- Keyboard navigation and accessibility out of the box
Weaknesses
- Requires Flutter 3.32+ and Dart 3.14+
- No support for custom item types beyond ValueItem without custom builder
- Limited to dropdown style UI, not a full form field library
- No built‑in persistence; callbacks must handle storage
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Add dependency in pubspec and import package; no special permissions or build_runner needed
import 'package:simple_search_dropdown/simple_search_dropdown.dart';
final controller = SearchDropDownController<String>(items: const [
ValueItem(label: 'Apple', value: 'apple'),
ValueItem(label: 'Banana', value: 'banana'),
]);
SearchDropDown<String>(controller: controller);Alternatives
Packages that do the same job and could replace simple_search_dropdown.
- country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare - drag_select_grid_view
A Flutter grid that supports both dragging and tapping to select its items.
74Compare - material_new_shapes
Provides Material 3 shape definitions (e.g., RoundedPolygon, Cubic) for Flutter UI.
48Compare - keyboard_visibility_pro
Detects soft-keyboard open and close status in Flutter applications.
39Compare
Works with
Packages commonly used together with simple_search_dropdown: ones it builds on, ones built on it, and its own family.
- material_uisimple_search_dropdown depends on itOfficial Flutter Material UI library implementing Google’s Material Design system.
- scrollable_positioned_listsimple_search_dropdown depends on itA Flutter list with helper methods to programmatically scroll to an item.
- stringrsimple_search_dropdown depends on itComprehensive string manipulation library supporting Latin, non-Latin, and grapheme clusters.