flutter_typeahead 5.0.0 flutter_typeahead: ^5.0.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.0.0 - 2023-11-25 #
Added #
- Custom
TextField
builder via thebuilder
property, replacingTextFieldConfiguration
. decorationBuilder
property for customizingSuggestionsBox
decoration.- Suggestions state (items, loading, error) in
SuggestionsController
. - Streams in
SuggestionsController
for notification of selected suggestions.
Changed #
- Renamed
SuggestionsBoxController
toSuggestionsController
. - Renamed
layoutArchitecture
tolistBuilder
. - Renamed
noItemsFoundBuilder
toemptyBuilder
. - Renamed
onSuggestionSelected
toonSelected
. - Renamed
suggestionsBoxVerticalOffset
tooffset
, now including horizontal offset. - Renamed
hideSuggestionsOnKeyboardHide
tohideWithKeyboard
. - Renamed
keepSuggestionsOnSuggestionSelected
tohideOnSelect
and inverted its functionality. - Renamed
keepSuggestionsOnLoading
toretainOnLoading
.
Removed #
SuggestionsBoxDecoration
, replaced bydecorationBuilder
.TextFieldConfiguration
, replaced by customTextField
builder.CupertinoSuggestionsBoxController
in favor ofSuggestionsController
.TypeAheadFormFiled
, replaced by customTextField
builder.intercepting
parameter (now always true).onSuggestionsBoxToggle
parameter (replaced with subscriptions toSuggestionsController
).ignoreAccessibleNavigation
parameter (no longer required with newOverlay
code).animationStart
parameter (use animation mapping).minCharsForSuggestions
parameter (implement in client code).autoFlipListDirection
parameter (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
SuggestionBox
to the underlyingHTMLElementView
(#495)
4.5.0 - 2023-05-28 #
4.4.0 - 2023-05-20 #
Added #
onTapOutside
callback to typeahead (#486)- Placeholder style customization (#485)
autoFlipMinHeight
option (#468)
4.3.8 - 2023-04-30 #
Fixed #
- Incorrect vertical offset calculation of suggestion box for Flutter mobile web (#484)
4.3.0 - 2022-11-15 #
Added #
onReset
callback 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_visibility
optional (#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 #
autoFillHints
forTextFieldConfiguration
(#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)
2.0.0 - 2021-01-11 #
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
autovalidateMode
and 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.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
BoxConstraints
are now respected inSuggestionsBoxDecoration
1.4.0 - 2019-03-26 #
Added #
autoFlipDirection
property for automatic direction flipping of the suggestions list when space is limited
1.3.0 - 2019-03-19 #
Changed #
- Limited the number of
suggestionsCallbacks
until the current call is finished
1.2.0 - 2019-03-05 #
1.1.0 - 2019-03-01 #
Added #
- Property
hideSuggestionsOnKeyboardHide
to 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
1.0.1 - 2019-02-06 #
Added #
- Properties
hideOnLoading
,hideOnEmpty
,hideOnError
to 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
SuggestionsBoxDecorations
allowing 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
TextField
properties inside a class - Mechanism used to open/close the suggestions box
- Updated the GIF to show the changes