multi_dropdown
4.0.0, released 2 weeks ago by nbhatt.com.np
Customizable multi-select and single-select dropdown widget for Flutter applications.
What it does
Provides a dropdown widget supporting single and multi-selection, searching, form validation, and programmatic control via a controller. It allows customization of items, chips, search fields, and dropdown panels.
AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a multi-select or single-select dropdown with search capabilities in a Flutter form.
- You require programmatic control over selected items, filtering, and dropdown state.
Skip it when
- Your project still relies strictly on standard Flutter material widgets and has not migrated to package:material_ui.
Strengths
- Supports both single-select and multi-select modes with search and form validation.
- Extensive customization options including chips, item builders, and async data loading.
Weaknesses
- Requires migrating Material imports and app themes to package:material_ui in version 4.0.0+.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Requires Flutter 3.47+ and Dart 3.13+, with a direct dependency on material_ui.
MultiDropdown<String>(
items: [
DropdownItem(label: 'Australia', value: 'AU'),
DropdownItem(label: 'Canada', value: 'CA'),
DropdownItem(label: 'India', value: 'IN'),
DropdownItem(label: 'United States', value: 'US'),
],
onSelectionChange: (selectedItems) {
debugPrint('Selected: $selectedItems');
},
);Alternatives
Packages that do the same job and could replace multi_dropdown.
- iglu_color_picker_flutter
A versatile Flutter color picker with customization options.
44Compare - flutter_otp_kit
A comprehensive OTP verification package with SMS autofill, biometric integration, and custom animations.
43Compare
Works with
Packages commonly used together with multi_dropdown: ones it builds on, ones built on it, and its own family.