Skip to content
pubscout

cool_dropdown

2.1.1, released 2 years ago by an unverified publisher

Customizable dropdown widget for Flutter with styling, animation, and error handling.

WASM-ready
$ flutter pub add cool_dropdown
Source repository

What it does

Provides a highly configurable dropdown UI component. Allows custom result box decoration, animation types, marquee effect, and error handling. Includes a controller to open/close programmatically.

AI-written summary of version 2.1.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a dropdown with custom styling beyond the default Flutter DropdownButton
  • You want built‑in animation, auto‑placement, or marquee for overflow text
  • You require programmatic control over opening/closing the dropdown

Skip it when

  • A simple, lightweight dropdown is sufficient
  • You need a platform‑agnostic solution outside of Flutter
  • You prefer a package that integrates state‑management or form validation

Strengths

  • Extensive visual customization (fonts, colors, decorations)
  • Built‑in animation and marquee support
  • Controller for programmatic open/close and error handling

Weaknesses

  • Only works within Flutter (no pure Dart fallback)
  • Potential performance overhead for very large lists
  • Documentation limited to README examples

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:cool_dropdown/cool_dropdown.dart';

CoolDropdown<String>(
  dropdownList: [
    CoolDropdownItem(value: 'A', label: 'Option A'),
    CoolDropdownItem(value: 'B', label: 'Option B'),
  ],
  onChange: (value) => print('selected: $value'),
  dropdownController: DropdownController(),
);

Alternatives

Packages that do the same job and could replace cool_dropdown.