dropdown_flutter
1.3.0, released 2 months ago by farhansadikgalib.com
Customizable dropdown with search, multi‑select, and built‑in validation
What it does
Provides a single‑purpose dropdown widget that supports local and network search, multi‑selection, and form validation. It offers extensive styling and keyboard support out of the box.
AI-written summary of version 1.3.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a searchable dropdown for a list of items
- You want multi‑select with checkboxes and a done button
- You need form validation for a single‑select field
- You want a lightweight widget with no external dependencies
Skip it when
- You require complex custom animations that are not supported by the widget
- You need a fully custom dropdown layout that cannot be achieved with the provided builders
Strengths
- Easy to use API with no controllers or builders required
- Supports local and network search with debounce and error handling
- Built‑in multi‑select with select‑all and done button
- Full theming and styling support, including dark mode
Weaknesses
- Limited to Flutter; no web‑specific optimizations beyond standard Flutter web support
- No support for very large lists that require virtualization
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:dropdown_flutter/dropdown_flutter.dart';
DropdownFlutter<String>(
hintText: 'Select priority',
items: const ['Low', 'Medium', 'High', 'Urgent'],
initialItem: 'Medium',
onChanged: (value) => print(value),
);Alternatives
Packages that do the same job and could replace dropdown_flutter.
- animated_custom_dropdown
Highly customizable animated dropdown for Flutter — search, network search with infinite scroll, multi-selection, overlay animations and a floating label.
76Compare - country_picker
A Flutter widget to pick a country from a list with optional phone code and search.
78Compare - animated_emoji
Widget that displays animated emojis from the Noto Animated Emoji set
73Compare - glow_container
A Flutter widget providing an animated glowing border effect for rectangular containers.
67Compare