Skip to content

Releases: AbdulRahmanAlHamali/flutter_typeahead

5.1.0

27 Jan 19:47
81c9628
Compare
Choose a tag to compare

Added

  • Returning null from suggestionsCallback hides the box
  • showOnFocus parameter for TypeAheadField to allow not showing the box on focus
  • gainFocus paramater for SuggestionsController.open to allow opening the box without focusing

5.0.2

11 Jan 20:42
8e9e89b
Compare
Choose a tag to compare

Changed

  • Upgraded flutter_keyboard_visibility: ^5.4.1 to ^6.0.0
  • Upgraded pointer_interceptor: ^0.9.3+6 to ^0.10.0

Fixed

  • dispose error in suggestions search

5.0.1

02 Dec 22:55
dc2bacf
Compare
Choose a tag to compare

Fixed

  • SetState error in suggestions box

5.0.0

02 Dec 22:55
Compare
Choose a tag to compare

Added

  • Custom TextField builder via the builder property, replacing TextFieldConfiguration.
  • decorationBuilder property for customizing SuggestionsBox decoration.
  • Suggestions state (items, loading, error) in SuggestionsController.
  • Streams in SuggestionsController for notification of selected suggestions.

Changed

  • Renamed SuggestionsBoxController to SuggestionsController.
  • Renamed layoutArchitecture to listBuilder.
  • Renamed noItemsFoundBuilder to emptyBuilder.
  • Renamed onSuggestionSelected to onSelected.
  • Renamed suggestionsBoxVerticalOffset to offset, now including horizontal offset.
  • Renamed hideSuggestionsOnKeyboardHide to hideWithKeyboard.
  • Renamed keepSuggestionsOnSuggestionSelected to hideOnSelect and inverted its functionality.
  • Renamed keepSuggestionsOnLoading to retainOnLoading.

Removed

  • SuggestionsBoxDecoration, replaced by decorationBuilder.
  • TextFieldConfiguration, replaced by custom TextField builder.
  • CupertinoSuggestionsBoxController in favor of SuggestionsController.
  • TypeAheadFormFiled, replaced by custom TextField builder.
  • intercepting parameter (now always true).
  • onSuggestionsBoxToggle parameter (replaced with subscriptions to SuggestionsController).
  • ignoreAccessibleNavigation parameter (no longer required with new Overlay code).
  • animationStart parameter (use animation mapping).
  • minCharsForSuggestions parameter (implement in client code).
  • autoFlipListDirection parameter (use listBuilder).

4.8.0

02 Dec 22:55
c6ff9b2
Compare
Choose a tag to compare

Changed

  • General cleanup of the codebase (#523)

4.7.0

02 Dec 22:55
a495c5c
Compare
Choose a tag to compare

Added

  • expands property to TextFieldConfiguration (#512)
  • scrollbarAlwaysVisible argument (#512)

Fixed

  • ignoreAccessibleNavigation flag to prevent non-selection bug (#512)

4.6.2

02 Dec 22:52
44c4183
Compare
Choose a tag to compare

Added

  • itemSeparatorBuilder to Material TypeAheadFormField (#500)

4.6.1

02 Dec 22:52
9c8945e
Compare
Choose a tag to compare

Fixed

  • Issue with scrollbar click-through (#494)
  • Mouse events propagating through the SuggestionBox to the underlying HTMLElementView (#495)

4.6.0

02 Dec 22:52
c4debd3
Compare
Choose a tag to compare

Added

  • Support for alternative layouts of results, such as Grid (#493)

4.5.0

02 Dec 22:52
e539320
Compare
Choose a tag to compare

Added

  • itemSeparatorBuilder option (#489)
  • autofillHints properties (#489)

Fixed

  • Removed top padding on scrollbar (#489)