SelectDialog<T> constructor

const SelectDialog<T>({
  1. Key? key,
  2. Widget? popupTitle,
  3. List<T>? items,
  4. double? maxHeight,
  5. bool showSearchBox = false,
  6. bool isFilteredOnline = false,
  7. ValueChanged<T>? onChanged,
  8. T? selectedValue,
  9. DropdownSearchOnFind<T>? onFind,
  10. DropdownSearchPopupItemBuilder<T>? itemBuilder,
  11. InputDecoration? searchBoxDecoration,
  12. String? hintText,
  13. DropdownSearchItemAsString<T>? itemAsString,
  14. DropdownSearchFilterFn<T>? filterFn,
  15. bool showSelectedItem = false,
  16. DropdownSearchCompareFn<T>? compareFn,
  17. EmptyBuilder? emptyBuilder,
  18. LoadingBuilder? loadingBuilder,
  19. ErrorBuilder? errorBuilder,
  20. bool autoFocusSearchBox = false,
  21. double? dialogMaxWidth,
  22. DropdownSearchPopupItemEnabled<T>? itemDisabled,
  23. TextEditingController? searchBoxController,
  24. Duration? searchDelay,
  25. FavoriteItemsBuilder<T>? favoriteItemBuilder,
  26. FavoriteItems<T>? favoriteItems,
  27. bool showFavoriteItems = false,
  28. MainAxisAlignment? favoriteItemsAlignment = MainAxisAlignment.start,
  29. TextStyle? searchBoxStyle,
  30. TextFieldProps? searchFieldProps,
  31. ScrollbarProps? scrollbarProps,
})

Implementation

const SelectDialog({
  Key? key,
  this.popupTitle,
  this.items,
  this.maxHeight,
  this.showSearchBox = false,
  this.isFilteredOnline = false,
  this.onChanged,
  this.selectedValue,
  this.onFind,
  this.itemBuilder,
  this.searchBoxDecoration,
  this.hintText,
  this.itemAsString,
  this.filterFn,
  this.showSelectedItem = false,
  this.compareFn,
  this.emptyBuilder,
  this.loadingBuilder,
  this.errorBuilder,
  this.autoFocusSearchBox = false,
  this.dialogMaxWidth,
  this.itemDisabled,
  this.searchBoxController,
  this.searchDelay,
  this.favoriteItemBuilder,
  this.favoriteItems,
  this.showFavoriteItems = false,
  this.favoriteItemsAlignment = MainAxisAlignment.start,
  this.searchBoxStyle,
  this.searchFieldProps,
  this.scrollbarProps,
}) : super(key: key);