Quick Dropdown

Pub Package License: MIT

A customizable Flutter package that provides a flexible and feature-rich dropdown widget.

Overview

With Quick Dropdown, you can easily integrate a highly customizable dropdown widget into your Flutter applications. This package allows you to create dropdowns with custom colors, font sizes, and item heights. It also supports search functionality for efficient item selection, along with error handling and loading indicators for a smooth user experience.

Installation

To use Quick Dropdown in your Flutter project, add the following line to your pubspec.yaml file:

dependencies:
  quick_dropdown: ^0.0.1

Run flutter pub get to install the package.

Usage

Import the package in your Dart code:

import 'package:quick_dropdown/quick_dropdown.dart';

Use the QuickDropdown widget in your UI:

QuickDropdown(
  items: [...], // Provide your list of items
  selectedValue: 'Select',
  onChanged: (String? value) {
    // Handle selected value
    print('Selected value: $value');
  },
  onSearch: (String searchQuery) async {
    // Implement your search logic
    return Future.value([]);
  },
)

Customize the widget according to your requirements using the available parameters.

Example

For a complete example, check the example folder in the GitHub repository.

Documentation

Additional documentation, including customization options and usage details, can be found in the official documentation.

Author

This package is created and maintained by KuldeepRathor.

Getting Help

If you encounter any issues or have questions, feel free to open an issue on GitHub.

Contributing

Contributions are welcome! Please follow the contribution guidelines.

License

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

Libraries

quick_dropdown