PackageTrack
Sign in Get early access

searchfield

A highly customizable, simple and easy to use AutoComplete widget for your Flutter app

2.0.0 21K downloads/mo #2146 most downloaded on pub.dev maheshj01/searchfield

What this package is like to depend on

Last release 6 months ago

16 Feb 2026

Release timing varies

gaps range from 9 days to 4 months

Nearly every release is documented

notes for 88 of 88 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

101 releases · first in 2020

5 releases in the last 12 months

see the full history below

Release timeline

101 releases · Dec 2020 to Feb 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 101
  1. 2.0.1-dev.1 16 Feb 2026 pre-release

    Nothing published for this version

  2. 2.0.0 15 Feb 2026
    Release notes

    [BREAKING] Fix: Issue: #256 Add maintainLabelSize to SearchInputDecoration (Requires Flutter 3.41.0 or greater)

    Open source →
    Release notes
    • [BREAKING] Fix: Issue: #256 Add maintainLabelSize to SearchInputDecoration (Requires Flutter 3.41.0 or greater)
    Open source →
  3. 1.4.0 02 Nov 2025
    Release notes

    What's Changed

    • fix(search): prevent RangeError when highlightIndex is out of bounds by @omar-hadek in #245

    New Contributors

    Full Changelog: v1.3.4...v1.4.0

    Open source →
    Release notes
    • Fix exceptions when using multiple instances of SearchField

    • Fix: FocusNode was not being disposed

    Open source →
  4. 1.4.0-dev.5 02 Nov 2025 pre-release

    Nothing published for this version

  5. 1.4.0-dev.4 02 Aug 2025 pre-release

    Nothing published for this version

  6. 1.4.0-dev.3 23 May 2025 pre-release

    Nothing published for this version

  7. 1.4.0-dev.2 16 May 2025 pre-release

    Nothing published for this version

  8. 1.4.0-dev.1 13 May 2025 pre-release

    Nothing published for this version

  9. 1.3.5 31 Aug 2025
    Release notes
    • Fix: Issue: #192 Exception: RangeError (index): Invalid value: Only valid value is 0: 1
    Open source →
  10. 1.3.4 22 Aug 2025
    Release notes

    What's Changed

    • fix(input_decoration): add missing visualDensity and semanticsService parameters for Flutter 3.35.1 compatibility by @iamtoricool in #250

    New Contributors

    Full Changelog: v1.3.3...v1.3.4

    Open source →
    Release notes
    • Fix: Issue: #248 Add semanticsService to SearchInputDecoration
    Open source →
  11. 1.3.3 02 Aug 2025
    Release notes

    prepare for release v1.3.3

    Open source →
    Release notes
    • Fix: SuggestionDirection.flexible was not updating direction on widget update
    Open source →
  12. 1.3.2 23 May 2025
    Release notes

    Full Changelog: v1.3.1...v1.3.2

    Open source →
    Release notes
    • Add SearchInputDecoration.hint and SearchInputDecoration.maintainHintSize (Supports Flutter 3.32)

    • hint is deprecated, Use SearchInputDecoration.hintText instead.

    Open source →
  13. 1.3.1 16 May 2025
    Release notes

    Full Changelog: v1.3.0...v1.3.1

    Open source →
    Release notes
    • Fix Issue: #231 Overlay rebuild on window resize was slow
    Open source →
  14. 1.3.0 13 May 2025
    Release notes

    Full Changelog: v1.2.9...v1.3.0

    Open source →
    Release notes
    • Fix Issue: #232 add item padding and refactor decoration

    • Fix Issue: #233 Null exception when setting selectedValue to null

    Open source →
  15. 1.3.0-dev.6 05 May 2025 pre-release

    Nothing published for this version

  16. 1.3.0-dev.5 04 May 2025 pre-release
    Release notes
    • Fix Issue: #218 FocusNode listener is not removed
    Open source →
  17. 1.3.0-dev.4 03 May 2025 pre-release
    Release notes
    • Fix Issue: #222 Suggestion overlay dimensions not updated on resize

    • Fix Issue: #224 calling setState in listener caused setState exception

    • Add VisualDensity Parameter to SearchInputDecoration

    • Fix Issue: #218 FocusNode listener is not removed

    Open source →
  18. 1.3.0-dev.3 16 Apr 2025 pre-release
    Release notes
    • Allow onSearchTextChanged to serve Future Issue #215

    • Dynamic height is broken when the suggestion direction is up Issue #216

    Open source →
  19. 1.3.0-dev.2 12 Apr 2025 pre-release
    Release notes
    • allow onSearchTextChanged to serve Future Issue #215
    Open source →
  20. 1.3.0-dev.1 19 Mar 2025 pre-release
    Release notes
    • Deprecate maintainHintHeight in favour of maintainHintSize property of SearchInputDecoration

    • Add hint property to SearchInputDecoration

    Open source →
  21. 1.2.9 05 May 2025
    Release notes

    What's Changed

    Full Changelog: v1.2.8...v1.2.9

    Open source →
    Release notes
    • Fix Issue: #212 add new parameter keepSearchOnSelection

    • Fix Issue: #228 add value parameter to searchfield list item

    Open source →
  22. 1.2.8 03 May 2025
    Release notes

    Full Changelog: v1.2.7...v1.2.8

    Open source →
  23. 1.2.7 16 Apr 2025
    Release notes

    What's Changed

    • Refactor searchfield dimensions and offset calculation by @maheshj01 in #217
    • Allow onSearchTextChanged to serve Future Issue #215
    • Dynamic height is broken when the suggestion direction is up Issue #216
    • set overlay to null after unmount PR #209

    Full Changelog: v1.2.6...v1.2.7

    Open source →
  24. 1.2.6 12 Mar 2025
    Release notes
    • Fix Range Error on First Suggestion Tap Issue #210
    Open source →
  25. 1.2.5 11 Mar 2025
    Release notes
    • set overlay to null after unmount PR #209
    Open source →
  26. 1.2.4 28 Jan 2025
    Release notes
    • Fix: Issue: #205 Index out of bound on SuggestionDirection.up
    Open source →
  27. 1.2.3 26 Jan 2025
    Release notes
    • Fix: Issue: #204 Interactive text editable menu was not being displayed.
    Open source →
  28. 1.2.2 25 Dec 2024
    Release notes
    • Fix: Issue: #197 Remove Null Checker

    • Add ScrollController to control the scroll of suggestions PR: #199

    • Fix: For SuggestionDirection.up arrow key would highlight in reverse.

    Open source →
  29. 1.2.1 12 Dec 2024
    Release notes
    • Fix: Issue: #195 Add maintain Height property to SearchInputDecoration Note: To use Searchfield 1.2.1 you would need flutter 3.27.0 or greater
    Open source →
    Release notes
    • Fix: Issue: #195 Add maintain Height property to SearchInputDecoration Note: To use Searchfield 1.2.1 you would need flutter 3.27.0 or greater
    Open source →
  30. 1.2.0 29 Nov 2024
    Release notes
    • [Breaking]: Handle selected Value on Client Side Issue: #191

    Before

    The package sets the selectedValue automatically inside the component, which leads to issues when navigating or selecting suggestions

    SearchField(
        hint: 'Basic SearchField',
        dynamicHeight: true,
        maxSuggestionBoxHeight: 300,
        initialValue: SearchFieldListItem<String>('ABC'),
        suggestions: dynamicHeightSuggestion
            .map(SearchFieldListItem<String>.new)
            .toList(),
        suggestionState: Suggestion.expand,
    ),
    

    After

    Now the client should handle the selectedValue explicitly in the client code (consumer code) by using the onSuggestionTap callback. This approach simplifies the API and provides more accurate control over the internal state of the package.

    var selectedValue = SearchFieldListItem<String>('ABC');
    
    SearchField(
        hint: 'Basic SearchField',
        dynamicHeight: true,
        maxSuggestionBoxHeight: 300,
        // now the selectedValue is handled by the client
        onSuggestionTap: (SearchFieldListItem<String> item) {
            setState(() {
                selectedValue = item;
            });
        },
        selectedValue: selectedValue, // rename initialValue to selectedValue
        suggestions: dynamicHeightSuggestion
            .map(SearchFieldListItem<String>.new)
            .toList(),
        suggestionState: Suggestion.expand,
    ),
    
    • Fixes: Issue: #178, Issue: #155

    • Fixes: Issue: #151 Clarifies use of SuggestionAction and now defaults to SuggestionState.unfocus without having to use FocusNode on client side.

    • Fixes: Issue: #190 Keyboard navigation does not work after selecting a suggestion.

    Huge thanks to all contributors and supporters. Happy Thanksgiving! 🦃

    Open source →
    Release notes
    • [Breaking]: Handle selected Value on Client Side Issue: #191

    Before

    The package sets the selectedValue automatically inside the component, which leads to issues when navigating or selecting suggestions

    SearchField( hint: 'Basic SearchField', dynamicHeight: true, maxSuggestionBoxHeight: 300, initialValue: SearchFieldListItem<String>('ABC'), suggestions: dynamicHeightSuggestion .map(SearchFieldListItem<String>.new) .toList(), suggestionState: Suggestion.expand, ),

    After

    Now the client should handle the selectedValue explicitly in the client code (consumer code) by using the onSuggestionTap callback. This approach simplifies the API and provides more accurate control over the internal state of the package.

    var selectedValue = SearchFieldListItem<String>('ABC');

    SearchField( hint: 'Basic SearchField', dynamicHeight: true, maxSuggestionBoxHeight: 300, // now the selectedValue is handled by the client onSuggestionTap: (SearchFieldListItem<String> item) { setState(() { selectedValue = item; }); }, selectedValue: selectedValue, // rename initialValue to selectedValue suggestions: dynamicHeightSuggestion .map(SearchFieldListItem<String>.new) .toList(), suggestionState: Suggestion.expand, ),

    Fixes: Issue: #178 , Issue: #155

    Fixes: Issue: #151 Clarifies use of SuggestionAction and now defaults to SuggestionState.unfocus without having to use FocusNode on client side.

    Fixes: Issue: #190 Keyboard navigation does not work after selecting a suggestion.

    Huge thanks to all contributors and supporters. Happy Thanksgiving! 🦃

    Open source →
  31. 1.1.9 25 Nov 2024
    Release notes
    • [regression] Fix: Keyboard navigation does not work Issue: 183
    Open source →
    Release notes
    • [regression] Fix: Keyboard navigation does not work Issue: 183
    Open source →
  32. 1.1.8 18 Nov 2024
    Release notes
    • Add contextmenubuilder property
    Open source →
    Release notes
    • Add contextmenubuilder property
    Open source →
  33. 1.1.7 22 Oct 2024
    Release notes
    • Refactor: Overlay condition too strict Issue: 182
    Open source →
    Release notes
    • Refactor: Overlay condition too strict Issue: 182
    Open source →
  34. 1.1.6 26 Sep 2024
    Release notes
    Open source →
    Release notes
    • Fix: new properties were missing in CopyWith Constructor Issue: 177 comment
    Open source →
  35. 1.1.5 25 Sep 2024
    Release notes
    • remove custom assertions for SearchInputDecoration properties
    Open source →
    Release notes
    • remove custom assertions for SearchInputDecoration properties
    Open source →
  36. 1.1.4 24 Sep 2024
    Release notes
    • Add new properties to SearchInputDecoration : prefixIconConstraints, hintMaxLines, floatingLabelStyle, errorText, error, hintTextDirection, hintFadeDuration, helper, suffixIconConstraints
    Open source →
    Release notes
    • Add new properties to SearchInputDecoration : prefixIconConstraints , hintMaxLines , floatingLabelStyle , errorText , error , hintTextDirection , hintFadeDuration , helper , suffixIconConstraints
    Open source →
  37. 1.1.3 21 Sep 2024
    Release notes
    • Fix SearchInputDecoration does not take any values Issue #176
    Open source →
    Release notes
    • Fix SearchInputDecoration does not take any values Issue #176
    Open source →
  38. 1.1.2 20 Sep 2024
    Release notes
    • add a SearchInputDecoration.copyWith constructor Issue #175
    • Fix Issue #174 Exception: RangeError (index): Index out of range: index must not be negative: -1
    • Fix Issue #165 Trigger onSubmit when a option is not selected.
    Open source →
    Release notes
    • add a SearchInputDecoration.copyWith constructor Issue #175

    • Fix Issue #174 Exception: RangeError (index): Index out of range: index must not be negative: -1

    • Fix Issue #165 Trigger onSubmit when a option is not selected.

    Open source →
  39. 1.1.1 14 Sep 2024
    Release notes
    • Adds following properties to SearchInputDecoration: suffix, label, suffixIconColor, prefix, prefixIconColor, prefixIcon and suffixIcon;
    • Fix Issue #166: select suggestion with keyboard throws null error
    • Fix Issue: 168: update selected item when the suggestions change
    Open source →
    Release notes
    • Adds following properties to SearchInputDecoration : suffix , label , suffixIconColor , prefix , prefixIconColor , prefixIcon and suffixIcon ;

    • Fix Issue #166 : select suggestion with keyboard throws null error

    • Fix Issue: 168 : update selected item when the suggestions change

    Open source →
  40. 1.1.0 10 Sep 2024
    Release notes
    • Adds new properties to style the search input using SearchInputDecoration: cursorColor, cursorWidth, cursorHeight, keyboardAppearance, cursorRadius, cursorOpacityAnimates
    • [BREAKING] Input deocration properties are now part of SearchInputDecoration following are the properties moved to SearchInputDecoration: textCapitalization, searchStyle

    Before

    SearchField(
        textCapitalization: TextCapitalization.words,
        style: TextStyle(...)
        ...
    )
    

    After

    SearchField(
        searchInputDecoration: SearchInputDecoration(
            textCapitalization: TextCapitalization.words,
            style: TextStyle(...)
            ...
        )
        ...
    ),
    
    Open source →
    Release notes
    • Adds new properties to style the search input using SearchInputDecoration : cursorColor , cursorWidth , cursorHeight , keyboardAppearance , cursorRadius , cursorOpacityAnimates

    • [BREAKING] Input deocration properties are now part of SearchInputDecoration following are the properties moved to SearchInputDecoration : textCapitalization , searchStyle

    Before

    SearchField( textCapitalization: TextCapitalization.words, style: TextStyle(...) ... )

    After

    SearchField( searchInputDecoration: SearchInputDecoration( textCapitalization: TextCapitalization.words, style: TextStyle(...) ... ) ... ),

    Open source →
  41. 1.0.9 05 Aug 2024
    Release notes
    • renamed dynamicHeightItem to dynamicHeight
    • Fix exception on scroll (debug) Issue #162
    Open source →
    Release notes
    • renamed dynamicHeightItem to dynamicHeight

    • Fix exception on scroll (debug) Issue #162

    Open source →
  42. 1.0.8 23 Jul 2024
    Release notes
    • Fixed Regression: Broke basic functionality to search hotfix #161
    Open source →
    Release notes
    • Fixed Regression: Broke basic functionality to search hotfix #161
    Open source →
  43. 1.0.7 22 Jul 2024
    Release notes
    • Fix: Scroll to selected Sugggestion Issue Fix: Issue #155
    • Fix: maxSuggestionInViewport did not show correct number of suggestions.
    • Add Support for dynamic height of suggestionItem Issue #67
    Open source →
    Release notes
    • Fix: Scroll to selected Sugggestion Issue Fix: Issue #155

    • Fix: maxSuggestionInViewport did not show correct number of suggestions.

    • Add Support for dynamic height of suggestionItem Issue #67

    Open source →
  44. 1.0.6 10 Jul 2024
    Release notes
    • Option was not being selected on search Issue #136
    Open source →
    Release notes
    • Option was not being selected on search Issue #136
    Open source →
  45. 1.0.5 05 Jun 2024
    Release notes
    • Add Max Length and Option to disable counter for TextFormField #Issue 145
    Open source →
    Release notes
    • Add Max Length and Option to disable counter for TextFormField #Issue 145
    Open source →
  46. 1.0.4 04 Jun 2024
    Release notes
    • Fix: error when dealing with multiple Overlays Issue #143
    Open source →
    Release notes
    • Fix: error when dealing with multiple Overlays Issue #143
    Open source →
  47. 1.0.3 28 May 2024
    Release notes
    • Arrow keys now properly scroll to the focused suggestion
    • Fix: Scrollbar tap hides the suggestions Issue #137
    • Expose additional properties of RawScrollbar to ScrollbarDecoration
    Open source →
    Release notes
    • Arrow keys now properly scroll to the focused suggestion

    • Fix: Scrollbar tap hides the suggestions Issue #137

    • Expose additional properties of RawScrollbar to ScrollbarDecoration

    Open source →
  48. 1.0.2 23 May 2024
    Release notes
    • Fix: onSuggestionTap returns empty searchKey usng keyboard Issue #138
    Open source →
    Release notes
    • Fix: onSuggestionTap returns empty searchKey usng keyboard Issue #138
    Open source →
  49. 1.0.1 22 Mar 2024
    Release notes
    • emptyWidget was incorrectly displayed Fix Issue #132
    • adds animationDuration to customize the list animation duration
    • Scroll to bottom and top of list using alt+down and alt+up keys
    Open source →
    Release notes
    • emptyWidget was incorrectly displayed Fix Issue #132

    • adds animationDuration to customize the list animation duration

    • Scroll to bottom and top of list using alt+down and alt+up keys

    Open source →
  50. 1.0.0 20 Mar 2024
    Release notes
    • ListView is always kept in state to maintain scrolloffset Issue #122
    • Shift+Tab should respect sequence of SearchField in a form with SuggestionState.hidden Issue #125
    Open source →
    Release notes
    • ListView is always kept in state to maintain scrolloffset Issue #122

    • Shift+Tab should respect sequence of SearchField in a form with SuggestionState.hidden Issue #125

    Open source →
  51. 0.9.9 13 Mar 2024
    Release notes
    • Incorrect search result passed to onSubmit Issue #126
    Open source →
    Release notes
    • Incorrect search result passed to onSubmit Issue #126
    Open source →
  52. 0.9.8 13 Mar 2024
    Release notes
    • Add elevation and shadowColor property to SuggestionDecoration class fixes Issue #110
    • Customize width of suggestions using SuggestionDecoration.width property
    • Initial Value should be selected by default Issue #127
    • Add textAlign property to SearchField Completes PR #126(
    Open source →
    Release notes
    • Add elevation and shadowColor property to SuggestionDecoration class fixes Issue #110

    • Customize width of suggestions using SuggestionDecoration.width property

    • Initial Value should be selected by default Issue #127

    • Add textAlign property to SearchField Completes PR #126 (

    Open source →
  53. 0.9.7 09 Mar 2024
    Release notes
    • Expose onScroll event listener Issue #118
    • Add showEmpty parameter to hide/show emptyWidget
    Open source →
    Release notes
    • Expose onScroll event listener Issue #118

    • Add showEmpty parameter to hide/show emptyWidget

    Open source →
  54. 0.9.6 06 Mar 2024
    Release notes
    • Add hoverColor and selectionColor property to SuggestionDecoration. Issue #112
    Open source →
    Release notes
    • Add hoverColor and selectionColor property to SuggestionDecoration. Issue #112
    Open source →
  55. 0.9.5 06 Mar 2024
    Release notes
    • Add keyboard support for suggestions Issue #7
    • [BREAKING] Remove deprecated property comparator, use onSearchTextChanged instead
    Open source →
    Release notes
    • Add keyboard support for suggestions Issue #7

    • [BREAKING] Remove deprecated property comparator , use onSearchTextChanged instead

    Open source →
  56. 0.9.2 07 Feb 2024
    Release notes
    • Fix SuggestionDirection broken
    Open source →
  57. 0.9.1 07 Feb 2024
    Release notes
    • Update Suggestion dimensions on Window resize Issue #84
    • Adds a enum SuggestionDirection.flexible to position the suggestions based on the available space. Issue #56
    Open source →
    Release notes
    • Update Suggestion dimensions on Window resize Issue #84

    • Adds a enum SuggestionDirection.flexible to position the suggestions based on the available space. Issue #56

    Open source →
  58. 0.9.0 08 Dec 2023
    Release notes
    • Expose onTap callback to get the tap event on the searchfield
    • Add autoValidateMode property to SearchField
    Open source →
  59. 0.8.9 23 Nov 2023
    Release notes
    • Clip Suggsestions within Material, Fixes issue #44
    Open source →
    Release notes
    • Clip Suggsestions within Material, Fixes issue #44
    Open source →
  60. 0.8.8 21 Nov 2023
    Release notes
    • add onTapOutside callback to SearchField Issue #94
    • add autofocus property to SearchField Issue #105
    Open source →
    Release notes
    • add onTapOutside callback to SearchField Issue #94

    • add autofocus property to SearchField Issue #105

    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