PackageTrack
Sign in Get early access

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 2025
2025 2026
Release Pre-release

Releases

latest 25
  1. 2.2.0 14 Apr 2025
    Release notes

    ✨ 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.
    Open source →
  2. 2.1.1 14 Apr 2025
    Release notes
    • Fixed Alignment
    Open source →
  3. 2.1.0 14 Apr 2025
    Release notes

    📦 What's New in

    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.

    Open source →
  4. 2.1.0+alignment 14 Apr 2025

    Nothing published for this version

  5. 2.0.2 03 Aug 2024
    Release notes
    • fixed screenshots description char length issue:
    Open source →
  6. 2.0.1 03 Aug 2024
    Release notes
    • Setup for CI/CD Pipeline:
    Open source →
  7. 2.0.0 21 Jun 2024
    Release notes

    Added

    • Multiple Selection Mode:
      • Feature: Introduced a boolean multiple constructor to distinguish between single and multiple selection modes.
      • Details: Added a new constructor AnimatedDropdownSearch.multiple specifically for multiple selection.
      • Functionality: Implemented the onSelectedMultiple callback to handle multiple selections, making it required in the multiple selection constructor.

    Changed

    • Constructor Assertions:
      • Improvement: Updated constructor assertions to ensure onSelected is only allowed in the single selection constructor and onSelectedMultiple is only allowed in the multiple selection constructor.
    • Logic Enhancement:
      • Functionality: Refined internal logic to handle sorting and highlighting of options in both single and multiple selection modes.
    • Widget Methods:
      • Improvement: Modified optionsListviewWidget and optionsCard methods to support both single and multiple selection scenarios.
    • Search Field Behavior:
      • Improvement: Enhanced searchFieldWidget to correctly toggle and clear selections in both single and multiple selection modes.

    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',
    );
    
    Open source →
  8. 1.0.7 13 Jun 2024

    Nothing published for this version

  9. 1.0.6 12 Jun 2024

    Nothing published for this version

  10. 1.0.5 12 Jun 2024

    Nothing published for this version

  11. 1.0.4 12 Jun 2024

    Nothing published for this version

  12. 1.0.3 12 Jun 2024

    Nothing published for this version

  13. 1.0.2 12 Jun 2024

    Nothing published for this version

  14. 1.0.1 12 Jun 2024

    Nothing published for this version

  15. 1.0.0 12 Jun 2024

    Nothing published for this version

  16. 0.1.0 11 Jun 2024

    Nothing published for this version

  17. 0.0.9 11 Jun 2024

    Nothing published for this version

  18. 0.0.8 11 Jun 2024

    Nothing published for this version

  19. 0.0.7 10 Jun 2024

    Nothing published for this version

  20. 0.0.6 10 Jun 2024

    Nothing published for this version

  21. 0.0.5 09 Jun 2024

    Nothing published for this version

  22. 0.0.4 08 Jun 2024

    Nothing published for this version

  23. 0.0.3 08 Jun 2024

    Nothing published for this version

  24. 0.0.2 08 Jun 2024

    Nothing published for this version

  25. 0.0.1 08 Jun 2024

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive