animated_dropdown_search_codespark
Empower your app with a sophisticated dropdown widget, featuring search and highlighting.
2.2.0
142 downloads/mo
#1658 most downloaded on pub.dev
Katayath-Sai-Kiran/animated_dropdown_search_codespark
What this package is like to depend on
Last release 1 years ago
14 Apr 2025
Release timing varies
gaps range from 2 weeks to 8 months
Rarely documented
notes for 6 of 25 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
25 releases · first in 2024
0 releases in the last 12 months
see the full history below
Release timeline
25 releases · Jun 2024 to Apr 2025Releases
latest 25-
2.2.014 Apr 2025Release notes
Open source →✨ Added
- Documentation comments for the following properties to improve IDE support and code readability:
overlayBackgroundColor: Background color for the dropdown overlay.cursorColor: Color of the text cursor.cursorWidth: Width of the text cursor.cursorHeight: Height of the text cursor.highlghtedTextColor: Color used to highlight matched text in the dropdown list.optionTileColor: Background color for each option tile in the list.
- Documentation comments for the following properties to improve IDE support and code readability:
-
2.1.114 Apr 2025 -
2.1.014 Apr 2025Release notes
Open source →📦 What's New in
This version introduces several new customization options and improvements to the
AnimatedDropdownSearchpackage:-
✅ Custom Input Border
Define a customInputBorderfor the search field using theborderparameter. -
🎬 Slide Animation Toggle
Use theshouldAnimateparameter to enable or disable slide animations on the dropdown options list. -
🎯 Advanced Search Field Control
searchController: Attach your ownTextEditingControllerto the search field.searchFocusNode: Attach a customFocusNodefor advanced focus handling.
-
🧁 Enhanced Search Field Styling
filled: Enable or disable the filled style on the search field (defaults totrue).fillColor: Customize the fill color (defaults toColors.white).
-
🧲 Dropdown Alignment
Set the alignment of the options list usingoptionsAlignment(defaults toAlignment.center).
These additions offer even more flexibility for fine-tuning the dropdown UI and behavior to suit your app's design system and functionality requirements.
-
-
2.1.0+alignment14 Apr 2025Nothing published for this version
-
2.0.203 Aug 2024 -
2.0.103 Aug 2024 -
2.0.021 Jun 2024Release notes
Open source →Added
- Multiple Selection Mode:
- Feature: Introduced a boolean
multipleconstructor to distinguish between single and multiple selection modes. - Details: Added a new constructor
AnimatedDropdownSearch.multiplespecifically for multiple selection. - Functionality: Implemented the
onSelectedMultiplecallback to handle multiple selections, making it required in the multiple selection constructor.
- Feature: Introduced a boolean
Changed
- Constructor Assertions:
- Improvement: Updated constructor assertions to ensure
onSelectedis only allowed in the single selection constructor andonSelectedMultipleis only allowed in the multiple selection constructor.
- Improvement: Updated constructor assertions to ensure
- Logic Enhancement:
- Functionality: Refined internal logic to handle sorting and highlighting of options in both single and multiple selection modes.
- Widget Methods:
- Improvement: Modified
optionsListviewWidgetandoptionsCardmethods to support both single and multiple selection scenarios.
- Improvement: Modified
- Search Field Behavior:
- Improvement: Enhanced
searchFieldWidgetto correctly toggle and clear selections in both single and multiple selection modes.
- Improvement: Enhanced
Fixed
- Dropdown Closure:
- Bugfix: Corrected an issue where the dropdown would not close properly after a selection in multiple selection mode.
- Text Highlighting:
- Bugfix: Addressed a bug causing incorrect highlighting of matched text under certain conditions.
Example Usage
// Single selection mode AnimatedDropdownSearch( data: ['Option 1', 'Option 2', 'Option 3'], onSelected: (val) { print('Selected: $val'); }, hint: 'Select an option', ); // Multiple selection mode AnimatedDropdownSearch.multiple( data: ['Option 1', 'Option 2', 'Option 3'], onSelectedMultiple: (values) { print('Selected values: $values'); }, hint: 'Select options', ); - Multiple Selection Mode:
-
1.0.713 Jun 2024Nothing published for this version
-
1.0.612 Jun 2024Nothing published for this version
-
1.0.512 Jun 2024Nothing published for this version
-
1.0.412 Jun 2024Nothing published for this version
-
1.0.312 Jun 2024Nothing published for this version
-
1.0.212 Jun 2024Nothing published for this version
-
1.0.112 Jun 2024Nothing published for this version
-
1.0.012 Jun 2024Nothing published for this version
-
0.1.011 Jun 2024Nothing published for this version
-
0.0.911 Jun 2024Nothing published for this version
-
0.0.811 Jun 2024Nothing published for this version
-
0.0.710 Jun 2024Nothing published for this version
-
0.0.610 Jun 2024Nothing published for this version
-
0.0.509 Jun 2024Nothing published for this version
-
0.0.408 Jun 2024Nothing published for this version
-
0.0.308 Jun 2024Nothing published for this version
-
0.0.208 Jun 2024Nothing published for this version
-
0.0.108 Jun 2024Nothing published for this version