flutter_typeahead 5.2.0
flutter_typeahead: ^5.2.0 copied to clipboard
A highly customizable typeahead (autocomplete) text input field for Flutter
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
5.2.0 - 2024-02-08 #
5.1.0 - 2024-01-27 #
Added #
- Returning null from
suggestionsCallbackhides the box showOnFocusparameter forTypeAheadFieldto allow not showing the box on focusgainFocusparamater forSuggestionsController.opento allow opening the box without focusing
5.0.2 - 2024-01-11 #
5.0.0 - 2023-11-25 #
Added #
- Custom
TextFieldbuilder via thebuilderproperty, replacingTextFieldConfiguration decorationBuilderproperty for customizingSuggestionsBoxdecoration- Suggestions state (items, loading, error) in
SuggestionsController - Streams in
SuggestionsControllerfor notification of selected suggestions
Changed #
- Renamed
SuggestionsBoxControllertoSuggestionsController - Renamed
layoutArchitecturetolistBuilder - Renamed
noItemsFoundBuildertoemptyBuilder - Renamed
onSuggestionSelectedtoonSelected - Renamed
suggestionsBoxVerticalOffsettooffset, now including horizontal offset - Renamed
hideSuggestionsOnKeyboardHidetohideWithKeyboard - Renamed
keepSuggestionsOnSuggestionSelectedtohideOnSelectand inverted its functionality - Renamed
keepSuggestionsOnLoadingtoretainOnLoading
Removed #
SuggestionsBoxDecoration, replaced bydecorationBuilderTextFieldConfiguration, replaced by customTextFieldbuilderCupertinoSuggestionsBoxControllerin favor ofSuggestionsControllerTypeAheadFormFiled, replaced by customTextFieldbuilderinterceptingparameter (now always true)onSuggestionsBoxToggleparameter (replaced with subscriptions toSuggestionsController)ignoreAccessibleNavigationparameter (no longer required with newOverlaycode)animationStartparameter (use animation mapping)minCharsForSuggestionsparameter (implement in client code)autoFlipListDirectionparameter (uselistBuilder)
4.7.0 - 2023-09-05 #
4.6.1 - 2023-06-04 #
Fixed #
- Issue with scrollbar click-through (#494)
- Mouse events propagating through the
SuggestionBoxto the underlyingHTMLElementView(#495)
4.5.0 - 2023-05-28 #
4.4.0 - 2023-05-20 #
Added #
onTapOutsidecallback to typeahead (#486)- Placeholder style customization (#485)
autoFlipMinHeightoption (#468)
4.3.8 - 2023-04-30 #
Fixed #
- Incorrect vertical offset calculation of suggestion box for Flutter mobile web (#484)
4.3.4 - 2023-02-16 #
Changed #
- Improved the main example for better readability on pub.flutter-io.cn
4.3.0 - 2022-11-15 #
Added #
onResetcallback toTypeAheadFormField(#36)- Feature to block up and down keys (#35)
4.2.0 - 2022-10-27 #
4.1.0 - 2022-09-05 #
3.2.6 - 2022-05-15 #
Fixed #
- Issue of suggestions not hiding on close (#93)
- Warnings related to Flutter 3.0 (#95)
3.2.3 - 2021-11-21 #
3.2.1 - 2021-09-10 #
3.2.2 - 2021-08-20 #
Added #
- Support for Windows and MacOS by making
keyboard_visibilityoptional (#33)
3.2.0 - 2021-07-09 #
3.1.2 - 2021-05-01 #
Fixed #
- Missing size guard in
_adjustMaxHeightAndOrientation(#03) - Issue with suggestions callback being called immediately (#06)
3.1.0 - 2021-03-21 #
Added #
autoFillHintsforTextFieldConfiguration(#95)- Feature to check if the overlay is open (#94)
- Check for platform and run the correct example demo (#91)
Fixed #
- Various bug fixes, including null safety (#92)
- Cancel the debounce timer when widget is destroyed (#87)
- possible race condition with await (#85)
1.9.3 - 2021-01-10 #
Changed #
- Reverted back to settings of 1.9.1; changes in 1.9.2 will be part of 2.0.0
1.9.1 - 2020-12-03 #
Fixed #
- Changed default setting to disabled for
autovalidateModeand fixed typo (#256)
1.9.0 - 2020-12-01 #
1.8.8 - 2020-08-12 #
Fixed #
- Fixed typos and updated validator tests and examples to remove deprecated constants
1.8.4 - 2020-06-30 #
1.8.0 - 2020-01-23 #
1.7.0 - 2019-10-16 #
1.6.0 - 2019-05-19 #
1.5.0 - 2019-04-25 #
1.4.1 - 2019-04-09 #
Fixed #
- Width parameters in
BoxConstraintsare now respected inSuggestionsBoxDecoration
1.4.0 - 2019-03-26 #
Added #
autoFlipDirectionproperty for automatic direction flipping of the suggestions list when space is limited
1.3.0 - 2019-03-19 #
Changed #
- Limited the number of
suggestionsCallbacksuntil the current call is finished
1.2.0 - 2019-03-05 #
1.1.0 - 2019-03-01 #
Added #
- Property
hideSuggestionsOnKeyboardHideto control suggestions box behavior
Changed #
- Suggestions box now closes by default when keyboard hides
- Width resizes properly on orientation changes
- Suggestions box displays above the keyboard for AxisDirection.Up
Fixed #
- FocusNode errors
- Keyboard height calculation errors
0.7.0 - 2019-02-07 #
Added #
- Added properties
hideOnLoading,hideOnEmpty, andhideOnErrorto hide the suggestions box
1.0.1 - 2019-02-06 #
Added #
- Properties
hideOnLoading,hideOnEmpty,hideOnErrorto control visibility of suggestions box
0.5.0 - 2019-01-05 #
0.4.0 - 2018-09-20 #
0.3.0 - 2018-09-15 #
Added #
- Constraints property to the
SuggestionsBoxDecorationsallowing setting of the height and width of the suggestions box
0.2.1 - 2018-09-04 #
0.2.0 - 2018-09-02 #
Added #
- More configuration properties to the
TextField - Configurable vertical offset for the suggestions box
- Meta-tags to README for SEO
- "How you can help" section to README
Changed #
- Suggestions box decoration
- Moved the
TextFieldproperties inside a class - Mechanism used to open/close the suggestions box
- Updated the GIF to show the changes