custom_dropdown_search
library
Typedefs
-
BeforeChange<T>
= Future<bool?> Function(T? prevItem, T? nextItem)
-
-
BeforeChangeMultiSelection<T>
= Future<bool?> Function(List<T> prevItems, List<T> nextItems)
-
-
-
-
CustomCard<T>
= Widget Function(T city, void (T itemToRemove))
-
-
DropdownSearchBuilder<T>
= Widget Function(BuildContext context, T? selectedItem)
-
-
DropdownSearchBuilderMultiSelection<T>
= Widget Function(BuildContext context, List<T> selectedItems)
-
-
DropdownSearchCompareFn<T>
= bool Function(T item1, T item2)
-
-
DropdownSearchFilterFn<T>
= bool Function(T item, String filter)
-
-
DropdownSearchItemAsString<T>
= String Function(T item)
-
-
DropdownSearchOnFind<T>
= Future<List<T>> Function(String text)
-
-
-
-
EmptyBuilder<T>
= Widget Function(BuildContext context, String searchEntry)
-
-
ErrorBuilder<T>
= Widget Function(BuildContext context, String searchEntry, dynamic exception)
-
-
FavoriteItems<T>
= List<T> Function(List<T> items)
-
items
are the original item from items
or/and asyncItems
-
FavoriteItemsBuilder<T>
= Widget Function(BuildContext context, T item, bool isSelected)
-
-
LoadingBuilder<T>
= Widget Function(BuildContext context, String searchEntry)
-
-
OnItemAdded<T>
= void Function(List<T> selectedItems, T addedItem)
-
-
OnItemRemoved<T>
= void Function(List<T> selectedItems, T removedItem)
-
-
-
PositionCallback
= RelativeRect Function(RenderBox overlay)
-
-
ValidationMultiSelectionBuilder<T>
= Widget Function(BuildContext context, List<T> item)
-