drop_down_search_field
1.3.0+1, released 6 months ago by an unverified publisher
Customizable dropdown with autocomplete, multi-select, and nested hierarchy
What it does
Provides a dropdown widget that supports type-ahead search, multi-selection, and unlimited nested data structures. It offers extensive styling, pagination, and form integration.
AI-written summary of version 1.3.0+1, based on the package's README and metadata. Report an inaccuracy
Use it when
- Need a searchable dropdown with custom item widgets
- Require multi-select capability with chip display
- Handle hierarchical data such as categories or file systems
Skip it when
- Only a simple static dropdown is required
- Performance constraints demand a lightweight widget
Strengths
- Supports unlimited nested hierarchy with expand/collapse
- Built-in multi-select with chip display
- Pagination and debounced search for large datasets
- Highly customizable appearance and behavior
Weaknesses
- Large API surface can be overwhelming for simple use cases
- No built-in theming beyond standard Flutter widgets
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
DropDownSearchField(
suggestionsCallback: (pattern) async {
return ['Apple', 'Banana', 'Cherry']
.where((item) => item.toLowerCase().contains(pattern.toLowerCase()));
},
itemBuilder: (context, suggestion) {
return ListTile(title: Text(suggestion));
},
onSuggestionSelected: (suggestion) {
print('Selected: $suggestion');
},
)Alternatives
Packages that do the same job and could replace drop_down_search_field.
- tutorial_coach_mark
Presents your app and its features using customizable guides and focused highlights.
84Compare - fancy_password_field
A customizable password input widget with validation rules and strength indicator.
76Compare - flutter_popup
A versatile Flutter package for creating customizable popups with highlight features.
75Compare - simple_shadow
Customizable drop shadow widget for any child
45Compare
Works with
Packages commonly used together with drop_down_search_field: ones it builds on, ones built on it, and its own family.