Releases: AbdulRahmanAlHamali/flutter_typeahead
Releases · AbdulRahmanAlHamali/flutter_typeahead
5.1.0
5.0.2
5.0.1
5.0.0
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
).