dropdown_textfield
1.2.0, released 2 years ago by an unverified publisher
A Material Design text field with single and multi-selection searchable dropdown options.
What it does
Provides a DropDownTextField widget that acts as a Material Design text field while allowing users to select single or multiple values from a custom dropdown list. It features built-in search functionality, clear options, checkboxes, and dedicated controllers for single or multi-value management.
AI-written summary of version 1.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a text field combined with a dropdown selection in a Flutter form.
- You require searchable dropdown items for single selection.
- You need multi-selection dropdowns with checkbox support.
Skip it when
- You need a standard dropdown button without a text field input interface.
- You require complex custom form builders beyond simple drop-down inputs.
Strengths
- Supports both single and multi-selection dropdowns.
- Includes built-in search capability for single-selection dropdowns.
- Highly customizable UI properties including radius, icons, and text styles.
Weaknesses
- Search option is currently available only for single selection dropdowns.
- Limited to Material Design styling.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
DropDownTextField(
clearIcon: Icons.clear,
dropdownRadius: 12,
dropDownList: [
DropDownValueModel(name: 'Name 1', value: "value1"),
DropDownValueModel(name: 'Name 2', value: "value2"),
],
onChanged: (val) {},
)Alternatives
Packages that do the same job and could replace dropdown_textfield.
- textfield_search
TextField widget to search and select values from a static list or future.
76Compare - date_picker_plus
Customizable Material Design date and range picker widgets for Flutter.
70Compare - date_field
A form field widget for picking dates and times with adaptive Material and Cupertino dialogs
75Compare - flutter_multiselect
Flutter package for a multi-select UI widget with filter and validation support.
52Compare
Works with
Packages commonly used together with dropdown_textfield: ones it builds on, ones built on it, and its own family.