searchfield 1.0.1 copy "searchfield: ^1.0.1" to clipboard
searchfield: ^1.0.1 copied to clipboard

A highly customizable, simple and easy to use flutter Widget to add a searchfield to your Flutter Application. This Widget allows you to search and select from list of suggestions.

[1.0.1] - March 22, 2024

  • 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

[1.0.0] - March 20, 2024

  • 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

[0.9.9] - March 13, 2024

  • Incorrect search result passed to onSubmit Issue #126

[0.9.8] - March 13, 2024

  • 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(

[0.9.7] - March 09, 2024

  • Expose onScroll event listener Issue #118
  • Add showEmpty parameter to hide/show emptyWidget

[0.9.6] - March 07, 2024

  • Add hoverColor and selectionColor property to SuggestionDecoration. Issue #112

[0.9.5] - March 06, 2024

  • Add keyboard support for suggestions Issue #7
  • [BREAKING] Remove deprecated property comparator, use onSearchTextChanged instead

[0.9.2] - Feb 07, 2024

  • Fix SuggestionDirection broken

[0.9.1] - Feb 07, 2024

  • Update Suggestion dimensions on Window resize Issue #84
  • Adds a enum SuggestionDirection.flexible to position the suggestions based on the available space. Issue #56

[0.9.0] - Dec 07, 2023

  • Expose onTap callback to get the tap event on the searchfield
  • Add autoValidateMode property to SearchField

[0.8.9] - Nov 23, 2023

  • Clip Suggsestions within Material, Fixes issue #44

[0.8.8] - Nov 21, 2023

  • add onTapOutside callback to SearchField Issue #94
  • add autofocus property to SearchField Issue #105

[0.8.7] - Oct 27, 2023

  • Minor Fix in suggestions total height calculation. #PR 85

[0.8.6] - Oct 13, 2023

  • Remove default scrollbar from listview

[0.8.5] - Oct 12, 2023

  • Adds scrollbarDecoration property to customize the scrollbar Issue #99
  • [BREAKING] Removes scrollbarAlwaysVisible property, instead use scrollbarDecoration.thumbVisibility to customize the scrollbar.

[0.8.4] - Aug 07, 2023

  • Addresses Issue #92: Add onSaved callback to SearchField
  • Addresses Issue #90 Update Docs to clarify Alignment of suggestions

[0.8.3] - May 19, 2023

[0.8.2] - May 16, 2023

  • Fix static analysis issue

[0.8.1] - May 15, 2023

  • Fixed: Overlay was not updated when the dependency changed.
  • Fix: Issue #81 adds padding property to SuggestionDecoration.

[0.8.0] - May 05, 2023

  • Fix: Issue #78 Adds onSearchTextChanged callback to get the search text on every change.
  • Deprecate comparator property, use onSearchTextChanged instead.

[0.7.8] - May 02, 2023

  • Fix Issue #77 Add TextCapitalization property to SearchField.

[0.7.7] - Apr 27, 2023

  • Fix Issue: 76 Overlay not getting closed on Route pop.

[0.7.6] - Apr 16, 2023

  • Add 'readOnly' property to disable editing
  • [BREAKING] Issue #58: Removes hasOverlay property, now suggestions are always shown as an overlay
  • Fixes: SearchField Cannot be wrapped with Center Issue 57

[0.7.5] - Jan 27, 2023

[0.7.4] - Jan 16, 2023

  • Add comparator property to filter out the suggestions with a custom logic.
  • Fixes #69

[0.7.3] - Oct 25, 2022

  • Add enabled property see #65

[0.7.2] - Oct 25, 2022

  • Add suggestionDirection property to position the suggestions.

[0.7.1] - Oct 6, 2022

[0.7.0] - Aug 30, 2022

  • Add offset property to position the suggestions.

[0.6.9] - Aug 12, 2022

  • Add suggestionStyle to style default suggestions.

[0.6.8] - Aug 8, 2022

  • Fix widget not mounted error on Deactivate

[0.6.7] - Jul 24, 2022

[0.6.6] - Jun 12, 2022

  • Add autoCorrect and inputFormatter property
  • Fix suggestionState for hasOverlay:false

[0.6.5] - May 19, 2022

  • Fixes runtime warning in flutter 3 Issue #29

[0.6.4] - Apr 21, 2022

[0.6.3] - Feb 24, 2022

  • Fixes issue #20
  • renamed property onTap to onSuggestionTap
  • Adds focusNode and onSubmit parameters to SearchField

[0.6.2] - Feb 24, 2022

  • Add support for empty widget
  • Add support for changing inputType

[0.6.1] - Feb 21, 2022

  • update version in readme
  • pass generic object to SearchfieldListItem

[0.6.0] - Feb 20, 2022 (Breaking Change)

  • add custom widget for Suggestions using SearchFieldListItem
  • removes suggestionStyle property
  • minor fixes

[0.5.6] - Sep 26, 2021

  • adds suggestionAction to change focus on suggestion tap
  • suggestions now always show on SuggestionState.enabled

[0.5.5] - Sep 03, 2021

  • adds searchInputAction property to focus to next input

[0.5.4] - Sep 01, 2021

  • renamed property to SuggestionType to SuggestionState

[0.5.3] - Sep 01, 2021

  • Adds SuggestionType enum to show/hide suggestion on focus
  • Update example

[0.5.2] - Apr 17, 2021

  • Add overlay example
  • Update readme

[0.5.1] - Apr 13, 2021

  • Updated docs

[0.5.0] - Apr 13, 2021

  • Adds support for overlays
  • suggestions are lazily loaded on demand
  • Adds animation to suggestions

[0.3.2] - Jan 10, 2021

[0.3.1] - Jan 10, 2021

  • Adds support for validator to add custom validations

[0.3.0] - Dec 24, 2020

  • Support for controller to interact with the SearchField

[0.2.1] - Dec 19, 2020

  • update Docs

[0.2.0] - Dec 18, 2020

  • support to change the height of each suggestionItem.
  • Can now define max number of suggestions visible in the viewport.
  • Customizable Search Input Decoration like the built in textfield.
  • decorate the Suggestions List with color or gradient.

[0.0.1] - Dec 11, 2020

  • Initial Release.
  • supports sound null safety
  • docs: minor documentation fixes and improvements
269
likes
130
pub points
97%
popularity

Publisher

verified publishermaheshjamdade.com

A highly customizable, simple and easy to use flutter Widget to add a searchfield to your Flutter Application. This Widget allows you to search and select from list of suggestions.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on searchfield