Package selection guidance compiled from public package information, community data, and project usage.
A customizable dropdown UI component for Flutter that allows developers to tailor the appearance of the selected item, the dropdown box's BoxDecoration, and the input field. It supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux. The package enhances user experience with smooth animations and flexible styling options, making it ideal for forms and selection interfaces. Built with simplicity and customization in mind, it integrates seamlessly into existing Flutter projects.
Use cases
Form inputs with custom dropdowns
User preference selectors
Dynamic option pickers
Mobile and web interface enhancements
Customizable UI components
Key features
Customizable selected item style
Configurable BoxDecoration for dropdown
Extensible input field design
Cross-platform compatibility
Smooth animation transitions
Easy integration with Flutter forms
Suitable for
Developers seeking styled dropdowns
Projects requiring consistent UI across platforms
Apps with complex form interactions
Design-focused Flutter applications
Teams prioritizing customization and flexibility
Considerations
Requires understanding of BoxDecoration and Flutter layout
May need additional styling for edge cases
Limited built-in validation
Best suited for simple to moderately complex dropdown needs
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Cool drop down
Features
All customizable style(font, fontsize. color, icon, result, dropdown decoration...).
Auto scroll to selected item position.
Dropdown is automatically placed. It's based on the position of the result on the screen(top/bottom).
Marquee effect.
Customizable animation.
Error handling.
"COOL"
Samples
Installing
command:
$ flutter pub add cool_dropdown
pubspec.yaml:
dependencies:
cool_dropdown: ^(latest)
Cool Dropdown options
Option
Type
Default
Description
dropdownList
List<CoolDropdownItem>
[]
Dropdown item list.
defaultItem
CoolDropdownItem?
null
Default item of the dropdown.
onChange
Function(T)
required
When user selects one of the items, you will get T type value.
onOpen
Function(bool)
null
When user either open or close the dropdown, you will get bool value.
resultOptions
ResultOptions
-
dropdownOptions
DropdownOptions
-
Check below.
dropdownItemOptions
DropdownItemOptions
-
Check below.
dropdownTriangleOptions
DropdownTriangleOptions
-
Check below.
dropdownController
DropdownController
required
Check below.
Result Options(result<v1.3.0> -> ResultOptions<v.2.0.0>)