flutter_simple_multiselect
2.1.1, released 3 years ago by qedcode.io
A simple searchable single or multiselect widget for Flutter with static and async values.
What it does
Provides a searchable selection widget that can function as a single-select or multi-select dropdown. It supports fetching and searching suggestions dynamically from a server or using static data, with customization options for tags and suggestions.
AI-written summary of version 2.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a tag editor or searchable multi-select dropdown.
- You want to fetch selection suggestions asynchronously from a server.
- You need a single or multi-select input field with customizable styling.
Skip it when
- You need a standard platform-native dropdown menu without tag editing capabilities.
- You do not need search or async suggestion loading.
Strengths
- Supports both static and asynchronous data sources.
- Can be used for both single and multi-select interactions.
- Fully customizable tag and suggestion builders.
Weaknesses
- Relies on community packages for underlying tag editing functionality.
- Limited documentation outside of the basic README examples.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
FlutterMultiselect(
multiselect: true,
length: selectedItemsAsync.length,
tagBuilder: (context, index) => SelectTag(
index: index,
label: selectedItemsAsync[index]["name"],
onDeleted: (value) {
selectedItemsAsync.removeAt(index);
setState(() {});
},
),
findSuggestions: (String query) async {
return await searchFunctionAsync(query);
},
)Alternatives
Packages that do the same job and could replace flutter_simple_multiselect.
- searchfield
An autocomplete search widget with customizable suggestions, validation, and keyboard navigation.
79Compare - dropdown_search
A simple, reactive, and highly customizable Flutter dropdown with search and multi-mode support.
87Compare - calendar_date_picker2
A customizable Flutter calendar picker with single, multi, and range selection modes.
83Compare - drop_down_list
A customizable dropdown widget supporting single/multiple selection and integrated search.
64Compare
Works with
Packages commonly used together with flutter_simple_multiselect: ones it builds on, ones built on it, and its own family.