dropdown_search
library
Typedefs
-
BeforeChange<T>
= Future<bool?> Function(T? prevItem, T? nextItem)
-
-
BeforeChangeMultiSelection<T>
= Future<bool?> Function(List<T> prevItems, List<T> nextItems)
-
-
-
-
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>
= FutureOr<List<T>> Function(String filter, LoadProps? loadProps)
-
-
-
-
EmptyBuilder<T>
= Widget Function(BuildContext context, String searchEntry)
-
-
ErrorBuilder<T>
= Widget Function(BuildContext context, String searchEntry, dynamic exception)
-
-
FavoriteItemsBuilder<T>
= Widget Function(BuildContext context, T item, bool isSelected)
-
-
InfiniteScrollBuilder
= Widget Function(BuildContext, int loadedItems)
-
-
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)
-
-
SuggestedItems<T>
= List<T> Function(List<T> items)
-
items
are the original item from items
or/and items
-
ValidationMultiSelectionBuilder<T>
= Widget Function(BuildContext context, List<T> items)
-