A highly customizable multiple selection widget with fuzzy search functionality
MultipleSearchSelection(
items: countries, // List<String>
fuzzySearch: FuzzySearch.jaro,
padding: const EdgeInsets.all(20),
itemsVisibility: ShowedItemsVisibility.alwaysOn,
title: Text(
'Countries',
style: kStyleDefault.copyWith(
fontSize: 22,
fontWeight: FontWeight.bold,
),
),
showSelectAllButton: false,
titlePadding: const EdgeInsets.symmetric(vertical: 10),
searchItemTextContentPadding:
const EdgeInsets.symmetric(horizontal: 10),
maximumShowItemsHeight: 200,
onTapShowedItem: () {},
onPickedChange: (items) {},
onItemAdded: (item) {
print('$item added to picked items');
},
onItemRemoved: (item) {
print('$item removed from picked items');
},
)
Showed items behavior
Always on | On type | Toggle |
---|---|---|
Issues / Features
Found a bug or want a new feature? Open an issue in the Github repository of the project.