multiple_search_selection 2.0.0
multiple_search_selection: ^2.0.0 copied to clipboard
A highly customizable multiple selection widget with fuzzy search functionality.
2.0.0 Breaking changes #
[items] & [initialItems] are now of type [T] for more flexibility when working with different types of [Object] in [List].
New required parameters added :
- [itemBuilder(T)] build and return the showed item widget
- [pickedItemBuilder(T)] build and return the picked item widget
- [fieldToCheck(T)] return the [String] field from the [T] of which you will search & sort against
Removed all parameters connected to showed & picked items since we now have builder methods. Please check the example for the implementation.
1.1.0 #
- Adds [itemsVisibility] enum which activates different display options on showed items.
ShowedItemsVisibility.alwaysOn // The items are always displayed
ShowedItemsVisibility.onType // Items are displayed when user types on search field
ShowedItemsVisibility.toggle // Items are displayed when tapped on show items toggle button
1.0.5 #
- Replaces deprecated
isAlwaysShown
withthumbVisibility
forRawScrollBar
1.0.4 #
- Adds initialy picked items parameter,
List<String>
.initialPickedItems
- Edits library description
- Edits example code
1.0.3 #
- Adds [MouseCursor] for showed & picked items.
showedItemMouseCursor
&pickedItemMouseCursor
- Adds [BoxDecoration] for showed & picked items container.
pickedItemsBoxDecoration
&showedItemsBoxDecoration
1.0.2 #
- Adds fuzzy search functionality. New
enum
FuzzySearch
added to choose from available fuzzy algorithms (Jaro & Levenshtein). Defaults to [FuzzySearch.none].
1.0.1 #
- Adds [ScrollController] for showed & picked items.
- Adds [ScrollPhysics] for showed & picked items.
- Adds a choice whether to sort showed & picked items.
- Adds picked item remove icon parameter.
- Exposes picked item's [BoxDecoration].
- Exposes clear all & select all buttons' animation curves.
1.0.0 #
- Initial release.