fcts_extended_dropdown 1.0.0 copy "fcts_extended_dropdown: ^1.0.0" to clipboard
fcts_extended_dropdown: ^1.0.0 copied to clipboard

A highly customizable Flutter dropdown package supporting static and remote data, search with debounce, and single/multi selection. Developed by Rahul Gupta and Forwardcode TechStudio.

fcts_extended_dropdown #

A highly customizable Flutter dropdown package with support for static/remote data, search with debounce, and single/multiple selection.

Features #

  • ✅ Select from list of static data.
  • ✅ Select from remote data source.
  • ✅ Search from both static and remote data sources with built-in debounce.
  • ✅ Single or multiple selection modes.
  • ✅ Fully customizable appearance via builders.

Getting Started #

Add the dependency to your pubspec.yaml:

dependencies:
  fcts_extended_dropdown: ^1.0.0

Usage #

Simple Static Dropdown #

FctsExtendedDropdown<int>(
  label: 'Select Number',
  items: [
    DropdownItem(label: 'One', value: 1),
    DropdownItem(label: 'Two', value: 2),
  ],
  onChanged: (selected) {
    print(selected.first.value);
  },
)

Remote Search with Debounce #

FctsExtendedDropdown<String>(
  label: 'Search Cities',
  onRemoteSearch: (query) async {
    final results = await api.searchCities(query);
    return results.map((e) => DropdownItem(label: e.name, value: e.id)).toList();
  },
  onChanged: (selected) {
    print(selected.first.label);
  },
)

Multiple Selection #

FctsExtendedDropdown<String>(
  label: 'Select Tags',
  isMultipleSelection: true,
  items: [
    DropdownItem(label: 'Flutter', value: 'flutter'),
    DropdownItem(label: 'Dart', value: 'dart'),
  ],
  onChanged: (selected) {
    print(selected.map((e) => e.value).toList());
  },
)

Contributors #

About Forwardcode TechStudio #

Forwardcode TechStudio is a software development studio specialized in building high-quality mobile applications, web platforms, and custom software solutions. We focus on delivering performance-oriented and scalable products.

Need a custom solution? #

If you're looking for expert development services or have a project in mind, we're here to help!

Hire Forwardcode TechStudio

License #

This project is licensed under the MIT License - see the LICENSE file for details.

0
likes
140
points
28
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A highly customizable Flutter dropdown package supporting static and remote data, search with debounce, and single/multi selection. Developed by Rahul Gupta and Forwardcode TechStudio.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, http, rxdart

More

Packages that depend on fcts_extended_dropdown