search_picker library Search Picker

Functions

showSearchPickerBottomSheet<T extends PickerItemModel>({required BuildContext context, required String title, required String hintText, required String retryText, required dynamic onItemTap(T?), required SearchPickerService<T> service, ItemPickerItemBuilder<T>? itemBuilder, Widget errorBuilder(Exception)?, Widget emptyBuilder()?, Widget separatorBuilder(int index)?, T? selectedItem, bool showEmptyWidgetWhenNoResultsAreFound = true, double loadingItemHeight = 60, SearchPickerModalConfiguration modalConfiguration = const SearchPickerModalConfiguration()}) → void
Displays search field and a list inside modal bottom sheet with a background blur effect.