custom_dropdown_search library

Enums

Mode

Typedefs

BeforeChange<T> = Future<bool?> Function(T? prevItem, T? nextItem)
BeforeChangeMultiSelection<T> = Future<bool?> Function(List<T> prevItems, List<T> nextItems)
BeforePopupOpening<T> = Future<bool?> Function(T? selectedItem)
BeforePopupOpeningMultiSelection<T> = Future<bool?> Function(List<T> selItems)
CustomCard<T> = Widget Function(T city, void (T itemToRemove))
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)
PopupBuilder = Widget Function(BuildContext context, Widget popupWidget)
PositionCallback = RelativeRect Function(RenderBox popupButtonObject, RenderBox overlay)
ValidationMultiSelectionBuilder<T> = Widget Function(BuildContext context, List<T> item)