Skip to content

Commit

Permalink
2.2.4 * improved documentation and simplified constructors. Thanks @M…
Browse files Browse the repository at this point in the history
…acacoazul01 #65 * marked assertUniqueValue parameter as deprecated since it is not used anywhere.
  • Loading branch information
lcuis committed Feb 24, 2023
1 parent 4bb045b commit 165bc96
Show file tree
Hide file tree
Showing 5 changed files with 153 additions and 398 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## 2.2.4

* added searchResultDisplayFn. Thanks @ramioooz https://github.com/lcuis/search_choices/issues/109
* improved documentation and simplified constructors. Thanks @Macacoazul01 https://github.com/lcuis/search_choices/issues/65
* marked assertUniqueValue parameter as deprecated since it is not used anywhere.

## 2.2.3

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# search_choices

Highly versatile Widget to search through a single or multiple choices list in a dialog box or a menu. Supports pagination and future/network/API/webservice searches with sort and filter.
Highly customizable Widget to search through a single or multiple choices list in a dialog box or a menu. Supports pagination and future/network/API/webservice searches with sort and filter. Each release is thoroughly tested through automated integrated testing with Flutster.

## Platforms

Expand Down
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ class MyAppState extends State<MyApp> {
selectedItems: selectedItemsMultiSelect3Dialog,
hint: "Select 3 items",
searchHint: "Select 3",
listValidator: (selectedItemsForValidator) {
listValidator: (List<dynamic> selectedItemsForValidator) {
if (selectedItemsForValidator.length != 3) {
return ("Must select 3");
}
Expand Down Expand Up @@ -1087,7 +1087,7 @@ class MyAppState extends State<MyApp> {
selectedItems: selectedItemsMultiSelect3Menu,
hint: "Select 3 items",
searchHint: "Select 3",
listValidator: (selectedItemsForValidatorWithMenu) {
listValidator: (List<dynamic> selectedItemsForValidatorWithMenu) {
if (selectedItemsForValidatorWithMenu.length != 3) {
return ("Must select 3");
}
Expand Down
Loading

0 comments on commit 165bc96

Please sign in to comment.