advanced_dropdown 2.0.1 copy "advanced_dropdown: ^2.0.1" to clipboard
advanced_dropdown: ^2.0.1 copied to clipboard

A customizable Flutter dropdown with search, single-select, and multi-select support.

๐Ÿ“ธ Screenshots #

Custom Decoration Single Select Single Select with Search Multi Select Multi Select with Search
[Custom Decoration] [Single Select] [Single Select with Search] [Multi Select] [Multi Select with Search]

๐Ÿงฉ Custom Dropdown for Flutter #

A fully customizable dropdown widget for Flutter that supports single-select, multi-select, and search โ€” all in one widget.
Lightweight, flexible, and easy to integrate into any Flutter project.


๐Ÿ“ฑ Platform Support #

Platform Supported Tested
Android โœ… โœ…
iOS โœ… โœ…
Web โœ… โœ…
Windows โœ… โš™๏ธ
macOS โœ… โš™๏ธ
Linux โœ… โš™๏ธ

๐Ÿ’ก Works with Flutter 3.0+ and Dart 3.0+


โœจ Features #

โœ… Single Select (default) โ€” behaves like a normal dropdown
โœ… Multi Select โ€” users can select multiple items
โœ… Searchable Dropdown โ€” optional search bar for filtering
โœ… Flexible Decoration โ€” customize dropdown and list appearance
โœ… Custom InputDecoration for search bar
โœ… Auto position below the button
โœ… Lightweight (~3 KB compressed)
โœ… No external dependencies โœ… Custom Dropdown Button Design โœ… Custom Dropdown Icon


โš™๏ธ Customization Options #

Below is a complete list of customizable properties available in the AdvancedDropdown widget.

Property Type Required Default Description
items List<String> โœ… Yes โ€“ The list of items to display in the dropdown.
onChanged Function(dynamic) โœ… Yes โ€“ Callback triggered when an item is selected. Returns a value (single select) or list (multi select).
isSearch bool โŒ No false Enables a search bar for filtering dropdown items.
isMultiSelect bool โŒ No false Enables multiple selection with checkboxes and removable chips.
decoration BoxDecoration? โŒ No null Customizes the main dropdown button (border, color, shape, etc.).
dropdownDecoration BoxDecoration? โŒ No null Styles the dropdown popup list container.
inputDecoration InputDecoration? โŒ No null Customizes the search fieldโ€™s look and behavior.
icon Icon? โŒ No Icon(Icons.arrow_drop_down) The dropdown icon displayed beside the button.
maxSelection int? โŒ No null Limits the number of selections in multi-select mode. Shows a SnackBar when exceeded.
chipColor Color โŒ No Color(0xFFD0E6FF) Background color of selected chips (multi-select).
chipTextColor Color โŒ No Colors.black Text color inside chips.
chipRemoveIconColor Color โŒ No Colors.black54 Color of the remove (ร—) icon in chips.
key Key? โŒ No null Widget key used for testing or identification.

๐Ÿ’ก Notes #

  • Default mode = Single Select
  • When isMultiSelect: true, the onChanged callback returns a List of selected items.
  • Dropdown automatically opens below the button.
  • You can style everything (dropdown, button, list, search bar).
  • Works seamlessly with light and dark themes.

4
likes
0
points
289
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable Flutter dropdown with search, single-select, and multi-select support.

Repository (GitHub)
View/report issues

Topics

#dropdown #flutter-widget #ui-components #custom-widget #reusable-ui

License

unknown (license)

Dependencies

flutter

More

Packages that depend on advanced_dropdown