PackageTrack
Sign in Get early access

dropdown_search

Simple, reactive and highly customizable Flutter Dropdown with a lot of features (search, popups platform, async/sync,...) with multi mode like menu, dialog, bottomSheet and etc.

7.0.0 179K downloads/mo #895 most downloaded on pub.dev salim-lachdhaf/dropdown_search

What this package is like to depend on

Last release 4 months ago

03 Apr 2026

Release timing varies

gaps range from 9 days to 1.5 years

Most releases are documented

notes for 57 of 64 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

79 releases · first in 2020

4 releases in the last 12 months

see the full history below

Release timeline

79 releases · Mar 2020 to Apr 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 79
  1. 7.0.0 03 Apr 2026
    Release notes
    • New Feature:

      • Add adaptive platform Ui feature: Material, Cupertino and Adaptive

      • Add autocomplete new popup mode

      • add transitionBuilder, transitionDuration, reverseTransitionDuration to menuProps

          transitionDuration: Duration(milliseconds: 500),
          transitionBuilder: (context, animation, secondaryAnimation, child) {
            return SlideTransition(
              position: Tween<Offset>(
                begin: const Offset(1, 0),
                end: Offset.zero,
              ).animate(animation),
              child: child,
            );
          }
        
      • add new property animationBuilder to DropdownButtonProps, examples of uses

         /* Example 1: animation with only one icon ("iconClosed") like rotation */
         animationBuilder: (child, isOpen) {
           return AnimatedRotation(
             turns: isOpen ? .5 : 0,
             duration: Duration(milliseconds: 400),
             child: child,
           );
         }
      
        /* Example 2 : animation with two icons like switch */
        dropdownButtonProps: DropdownButtonProps(
          iconClosed: Icon(Icons.arrow_drop_down),
          iconOpened: Icon(Icons.arrow_drop_up),
          animationBuilder: (child, isOpen) {
            return AnimatedSwitcher(
              switchOutCurve: Curves.easeIn,
              switchInCurve: Curves.easeIn,
              duration: Duration(milliseconds: 400),
              child: child,
            );
          },
        )
      
      • add new property layoutDelegate to MenuProps and CupertinoMenuProps, you can extend SingleChildLayoutDelegate to create your own positioning strategy

        example of use

          layoutDelegate: (context, padding, position) => _PopupMenuRouteLayout(context, position)
        
          class _PopupMenuRouteLayout extends SingleChildLayoutDelegate {
            final RelativeRect position;
            final BuildContext context;
        
            const _PopupMenuRouteLayout(this.context, this.position);
        
          @override
          BoxConstraints getConstraintsForChild(BoxConstraints constraints) {
            // pick any properties from the context to calculate proper constraints
            final mediaQuery = MediaQuery.of(context);
            final keyBoardHeight = mediaQuery.viewInsets.bottom;
            final safeArea = mediaQuery.padding;
        
            return BoxConstraints(/* calculate new constraints based on your needs */);
          }
        
            @override
            Offset getPositionForChild(Size size, Size childSize) {
              // The position where the child should be placed.
            }
        
            @override
            bool shouldRelayout(covariant SingleChildLayoutDelegate oldDelegate) => false;
          }
        
      • add SuggestionsProps to popupProps

      • add builder property for SuggestionsProps to override the hole suggestion widget

      • add properties to scrollView and wrap widget for selected items in multiSelection mode

      • Chips are fully customizable in multiSelection and suggestions

      • replace padding in searchFieldProps with containerBuilder

      • add onDisplayed callback to popupProps

      • add errorBuilder for InfiniteScrollProps

      • add possibility to reload item using myGlobalKey.currentState?.reloadItems(String filter) or myGlobalKey.currentState?.loadMoreItems(String filter, int skip)

      • add textProps to have the ability to pass default text props through the context to selectedItem

      • add new property for TextFieldProps

      • add the ability to listen to focus changes using onFocusChange

      • add new callbacks onBeforeClear and onClear to handle dropdown clear button action

    • Breaking changes

      • change onChanged to onSelected
      • PopupPropsMultiSelection changed to MultiSelectionPopupProps
      • suggestedItemsProps is placed inside SuggestionsProps
      • Semantics is removed from searchBox, to add it use containerBuilder like this you have full access to Semantic properties.
    • Fix bugs:

      • BottomSheet background color 726
    Open source →
  2. 7.0.0-pre7 03 Apr 2026 pre-release

    Nothing published for this version

  3. 7.0.0-pre6 29 Aug 2025 pre-release

    Nothing published for this version

  4. 7.0.0-pre5 29 Aug 2025 pre-release

    Nothing published for this version

  5. 7.0.0-pre4 16 Feb 2025 pre-release

    Nothing published for this version

  6. 7.0.0-pre3 16 Feb 2025 pre-release

    Nothing published for this version

  7. 7.0.0-pre2 12 Dec 2024 pre-release

    Nothing published for this version

  8. 7.0.0-pre1 07 Dec 2024 pre-release

    Nothing published for this version

  9. 7.0.0-pre 07 Dec 2024 pre-release

    Nothing published for this version

  10. 6.0.4-pre 14 Sep 2024 pre-release

    Nothing published for this version

  11. 6.0.3-pre 13 Sep 2024 pre-release

    Nothing published for this version

  12. 6.0.2 16 Jan 2025

    Nothing published for this version

  13. 6.0.2-pre 13 Sep 2024 pre-release

    Nothing published for this version

  14. 6.0.1 21 Sep 2024
    Release notes
    • New Feature:

      • add Semantics to searchBox to support voiceOver/TalkBack ...
    • Fix bugs:

      • duplicated GlobalKey issue 672
      • multiSelection chips height issue 602
      • hint and dropdownBuilder issue 515
    Open source →
  15. 6.0.1-pre 13 Sep 2024 pre-release

    Nothing published for this version

  16. 6.0.0 14 Sep 2024
    Release notes
    • New features:

      • infinite list / lazy loading
      • add click properties to the dropdown
      • add custom mode
      • dropdown button can be changed depending on state (opened/closed)
      • add property cacheItems for popupProps
      • add property onItemLoaded
      • adding new properties for a lot of widget (scrollBar, modal, bottomSheet,...)
      • add to possibility to change position of clearButton and dropdownButton using direction property
    • Breaking changes :

      • AsyncItems and items are replaced by items:(filter, infiniteScrollProps)
      • Add isDisabled to itemBuilder params
      • FavoriteItems renamed to SuggestedItems
      • isFilterOnline renamed to disableFilter
      • selectionWidget renamed to checkBoxBuilder
      • dropdownDecoratorProps renamed to decoratorProps
      • clearButtonProps and dropdownButtonProps are placed to suffixProps
    • Fix bugs:

      • Search delay issue 542,
      • Multiselection triggers didChange issue 668,
      • ModalBottomSheet Keyboard issue 650,
      • ScrollBar padding top issue 512
      • Disabled color issue 553
      • MultiSelection overflow issue 526
      • Popup does not close after dropdown dispose issue 554
      • Suffix space issue 670
    Open source →
  17. 6.0.0-pre 11 Sep 2024 pre-release

    Nothing published for this version

  18. 5.0.6 26 Feb 2023
    Release notes
    • Fix bugs

    • fix lint errors

    • add 'textDirection' in multiSelection mode to handle checkbox alignment

    • add useSafeArea for modal

    • [5.0.5] - 2022.12.05

    • Fix analysis warning and formatting issues

    Open source →
  19. 5.0.5 05 Dec 2022

    Nothing published for this version

  20. 5.0.4 04 Dec 2022
    Release notes
    • Fix bugs: 510, 439, 513, 514
    • add new properties to dropdownButton and clearDropdownButton: 'style', 'isSelected', ' selectedIcon', 'onPressed'
    Open source →
  21. 5.0.3 22 Sep 2022
    Release notes
    • Fix bugs
    • update Readme file
    Open source →
  22. 5.0.2 04 Jun 2022
    Release notes
    • add interceptCallBacks for popupProps
    Open source →
  23. 5.0.1 29 May 2022
    Release notes
    • Fix code format
    Open source →
  24. 5.0.0 29 May 2022
    Release notes
    • Replace ScrollBar with RawScrollBar (adding new properties)
    • move showClearButton into ClearButtonProps
    • move all dropdownDecoration props into dropdownDecoratorProps
    • replace IconButtonProps with DropdownButtonProps and ClearButtonProps for clearButtonProps and dropdownButtonProps
    • add a full custom container for the pop containerBuilder to popup_props
    • add isVisible prop to DropdownButtonProps
    • change validationMultiSelectionWidget to validationWidgetBuilder
    Open source →
  25. 4.0.1 17 May 2022
    Release notes
    • fix fit issue in single Selection mode
    • fix isOnlineFilter issue
    Open source →
  26. 4.0.0 16 May 2022
    Release notes
    • Breaking changes:

      • onFind to AsyncItem
      • isFilteredOnline to isFilterOnline
      • replace all popup customization with popupProps
      • change default mode to MENU
      • remove 'dropdownBuilderSupportsNullItem' because now we support nullSafety
      • remove safeArea settings, the popup should always shown in safeArea
    • update readme.md

    • improve menu mode

    • improve dialog mode

    • fix large text in chips in multiSelection mode

    • fix bug 84

    • add new mode BOTTOM_SHEET

    • support Flutter v3

    Open source →
  27. 3.0.1 19 Apr 2022
    Release notes
    • breaking changes:
      • remove hint and label properties, use dropdownSearchDecoration instead
      • remove showAsSuffixIcons property, now always are as suffixIcon
      • replace 'clearButtonSplashRadius' and 'clearButtonBuilder' into one property 'IconButtonProps'
      • replace 'dropdownButtonSplashRadius' and 'dropdownButtonBuilder' into one property ' IconButtonProps'
    • fix issue 380
    Open source →
  28. 3.0.0 19 Apr 2022

    Nothing published for this version

  29. 2.0.1 14 Nov 2021
    Release notes
    • improve performance
    • add "popupCustomMultiSelectionWidget" option
    Open source →
  30. 2.0.0 24 Oct 2021

    Nothing published for this version

  31. 1.0.4 17 Oct 2021
    Release notes
    • fix some bugs
    Open source →
  32. 1.0.3 02 Oct 2021
    Release notes
    • new feature : change searchBox query programmatically using EditTextController
    • fix some bugs
    Open source →
  33. 1.0.2 02 Oct 2021

    Nothing published for this version

  34. 1.0.1 02 Oct 2021

    Nothing published for this version

  35. 1.0.0 05 Sep 2021
    Release notes
    • new feature : multiSelection mode
    • breaking changes :
      • searchBoxDecoration removed: replaced by searchFieldProps _ autoFocusSearchBox removed : replaced by searchFieldProps _ searchBoxStyle removed : replaced by searchFieldProps _ searchBoxController removed : replaced by searchFieldProps

        - showSelectedItem replaced by showSelectedItems
        
    Open source →
  36. 1.0.0-beta2 11 Jul 2021 pre-release

    Nothing published for this version

  37. 1.0.0-beta 05 Jul 2021 pre-release

    Nothing published for this version

  38. 0.6.3 13 Jun 2021
    Release notes
    • fix analyser issues
    Open source →
  39. 0.6.2 13 Jun 2021
    Release notes
    • prop that passes all props to search field
    • fix issues 169
    • fix issues 163
    • new Feature "dropdown BaseStyle" 178
    • new Feature "popup scrollView"
    • Ignore pointers in itemBuilder & cursor in web
    • Added property to customize DropdownButton Splash Radius
    • added property to set up the splash radius for clear button and for dropdown button in dropdown_search
    • @thanks Vasiliy
    Open source →
  40. 0.6.1 02 May 2021
    Release notes
    • added property to set up the popup safe area
    • fixed null safety issues
    Open source →
  41. 0.5.0 24 Mar 2021
    Release notes
    • Migrating to null-safety @thx nizarhdt
    • add new feature: favorites items @thx nizarhdt
    • fix bugs
    Open source →
  42. 0.4.9 22 Feb 2021
    Release notes
    • fix bug filterOnline #116
    • Add onBeforeChange CallBack @thanks Vasiliy
    • Add onPopupDismiss CallBack @thanks Vasiliy
    • search delay feature @thanks Vasiliy
    • BottomSheet scrolling behavior improvement @thanks Vasiliy
    • fix bug update selectedItem
    • added an ability to override the clear and dropdown icon buttons with builder
    • suffixIcons adds an ability to switch icon management through the suffixIcon of InputDecoration
    Open source →
  43. 0.4.8 20 Nov 2020
    Release notes
    • fix bug caused by last flutter SDK breaking changes #69
    • Add a getter for the selected item
    • Add a getter to check if the DropDownSearch is focused or not
    Open source →
  44. 0.4.6 30 Oct 2020
    Release notes
    • Invoke the dropdown programmatically
    • change dropdownSearch selected value programmatically
    • fix issue #25
    • fix issue #36
    • fix issue #51
    • fix issue #55
    Open source →
  45. 0.4.5 21 Oct 2020
    Release notes
    • replace autoValidate by autoValidateMode
    • pass searchWord to loadingBuilder/emptyBuilder/errorBuilder
    • add searchBoxController to be used as default filter for example
    Open source →
  46. 0.4.4 06 Jul 2020
    Release notes
    • fix bug
    Open source →
  47. 0.4.3 04 Jun 2020
    Release notes
    • remove dropDownSearchDecoration duplication
    • add popupBarrierColor feature
    Open source →
  48. 0.4.2 22 May 2020
    Release notes
    • add popupItemDisabled feature, to manage popupItems accessibility
    Open source →
  49. 0.4.1 17 May 2020
    Release notes
    • handle dark and light theme
    • handle dropdownBuilder if item is Null
    Open source →
  50. 0.4.0 11 May 2020
    Release notes
    • add dropdown icon customization
    • add clear button icon customization
    Open source →
  51. 0.3.9 11 May 2020
    Release notes
    • manage default border color
    Open source →
  52. 0.3.8 11 May 2020
    Release notes
    • fix issue: default selected item
    Open source →
  53. 0.3.7 10 May 2020
    Release notes
    • update description
    Open source →
  54. 0.3.6 10 May 2020
    Release notes
    • update description
    Open source →
  55. 0.3.5 10 May 2020
    Release notes
    • fix issue
    Open source →
  56. 0.3.4 10 May 2020
    Release notes
    • Integrate material design
    • make DropdownSearch as item of a form
    • manage validation form
    Open source →
  57. 0.3.3 01 May 2020

    Nothing published for this version

  58. 0.3.2 01 May 2020
    Release notes
    • add autoFocus searchBox feature
    Open source →
  59. 0.3.1 29 Apr 2020
    Release notes
    • fix bug: filter items
    • fix menu mode background color
    Open source →
  60. 0.3.0 29 Apr 2020
    Release notes
    • fix bug: empty items online
    Open source →

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