custom_dropdown_experts 0.0.1 copy "custom_dropdown_experts: ^0.0.1" to clipboard
custom_dropdown_experts: ^0.0.1 copied to clipboard

This plugin helps you to add custom dropdown with search functionality

Custom Searchable Dropdown This plugin allows you to easily add a custom dropdown widget with search functionality in your Flutter app. It provides an intuitive interface to select items from a list with search capabilities and customization options.

Features Custom dropdown widget with built-in search functionality. Flexible styling options for labels, dropdown items, and more. Support for custom suffix icons. Handles a variety of item types and easily integrates with your Flutter app. Getting Started To start using the package, add the following to your pubspec.yaml:

yaml Copy code dependencies: custom_searchable_dropdown: ^1.0.0 Then, import the package into your Dart file:

dart Copy code import 'package:custom_searchable_dropdown/custom_searchable_dropdown.dart'; Usage Here’s an example of how to use the CustomSearchableDropdown in your app:

dart Copy code Container( decoration: BoxDecoration( borderRadius: BorderRadius.circular(6.0), border: Border.all(color: Colors.black), ), child: CustomSearchableDropDown( items: widget.values ?? [], label: title, labelStyle: TextStyle( fontSize: 16.0, fontFamily: 'ProximaRegular', color: Colors.black, ), dropdownItemStyle: TextStyle( fontSize: 16.0, fontFamily: 'ProximaRegular', color: Colors.black, ), suffixIcon: SvgPicture.asset( 'assets/user_image/ic_up_down_arrow.svg', width: 10, height: 10, ), dropDownMenuItems: widget.values?.map((item) { return item; }).toList() ?? [], onChanged: (value) { if (value != null) { widget.onChange(value); title = value; } }, ), ) Example Walkthrough: items: The list of items you want to show in the dropdown. label: The text displayed on the dropdown. labelStyle: Custom styling for the label text. dropdownItemStyle: Custom styling for each dropdown item. suffixIcon: Allows you to use a custom icon for the dropdown. onChanged: Callback triggered when an item is selected. Additional Information For more details and examples, refer to the documentation and the sample project in the repository.

Contributions Contributions are welcome! Feel free to open an issue or submit a pull request on GitHub.

Issues and Support If you encounter any issues, please file them on the issue tracker. The package authors will try to respond as soon as possible.

2
likes
0
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

This plugin helps you to add custom dropdown with search functionality

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on custom_dropdown_experts