NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev
Empower your app with a sophisticated dropdown widget, featuring search and highlighting.
Latest stable
2.2.0
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 8 months
Nearly every release is documented
notes for 24 of 25 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
25 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
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.- Fixed Alignment
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
This version introduces several new customization options and improvements to the AnimatedDropdownSearch package:
This version introduces several new customization options and improvements to the AnimatedDropdownSearch package:
✅ Custom Input Border
Define a custom InputBorder for the search field using the border parameter.
🎬 Slide Animation Toggle
Use the shouldAnimate parameter to enable or disable slide animations on the dropdown options list.
🎯 Advanced Search Field Control
searchController: Attach your own TextEditingController to the search field.searchFocusNode: Attach a custom FocusNode for advanced focus handling.🧁 Enhanced Search Field Styling
filled: Enable or disable the filled style on the search field (defaults to true).fillColor: Customize the fill color (defaults to Colors.white).🧲 Dropdown Alignment
Set the alignment of the options list using optionsAlignment (defaults to Alignment.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.
fixed screenshots description char length issue:
- Setup for CI/CD Pipeline:
Feature: Introduced a boolean multiple constructor to distinguish between single and multiple selection modes.
multiple constructor to distinguish between single and multiple selection modes.AnimatedDropdownSearch.multiple specifically for multiple selection.onSelectedMultiple callback to handle multiple selections, making it required in the multiple selection constructor.onSelected is only allowed in the single selection constructor and onSelectedMultiple is only allowed in the multiple selection constructor.optionsListviewWidget and optionsCard methods to support both single and multiple selection scenarios.searchFieldWidget to correctly toggle and clear selections in both single and multiple selection modes.// 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',
);
Fixed Screenshots: Fixed screenshots rendering issue
Fixed Screenshots: Fixed screenshots rendering issue
Fixed Screenshots: Fixed screenshots rendering issue
Fixed Screenshots: Fixed screenshots rendering issue
Fixed Screenshots: Fixed screenshots rendering issue
Fixed Screenshots: Fixed screenshots rendering issue
Fixed Screenshots: Fixed screenshots rendering issue
Feature: The dropdown menu now adjusts its position to display either above or below the search field based on the available space.
Adaptive Dropdown Positioning:
Overlay Support:
OverlayPortalController for managing the visibility of the dropdown menu, providing a seamless user experience where the dropdown remains accessible and visible regardless of other UI elements.Bug Fixes: Addressed and resolved various bugs to improve the stability and performance of the AnimatedDropdownSearch package.
AnimatedDropdownSearch package.Topics Added: Added relevant topics to the package metadata for better categorization and discoverability, including Flutter, Dart, UI Components, Dro
Added Selected Item Sorting: Ensured that the selected item is placed at the top of the dropdown list, with the remaining items sorted alphabetically.
Improvements: Performance Improvements
Highlighted Matched Text: Added the ability to highlight matched text in the dropdown options based on the search query.
matchedTextHighlightColor property for setting the color of the highlighted text.minCharactersToHighlight property to specify the minimum number of characters before highlighting matched text.Fixed Screenshots Url: Fixed Screenshot Uri issue
Fixed Selected Option: Fixed selection option value in textformfield
Example File Added: Included a comprehensive example file demonstrating the usage of the AnimatedDropdownSearch widget.
AnimatedDropdownSearch widget.Added screenshots to enhance visualization of the AnimatedDropdownSearch widget in action.
AnimatedDropdownSearch widget in action.This change log reflects the enhancements made in version 0.0.2, focusing on the addition of screenshots and enriched content to improve user understanding and experience with the package.
Initial Release: Launched the AnimatedDropdownSearch package.
AnimatedDropdownSearch package.One column per month.