SelectPopup<T> constructor

const SelectPopup<T>({
  1. Key? key,
  2. FutureOr<SelectItemDelegate?>? items,
  3. TextEditingController? searchController,
  4. Widget? searchPlaceholder,
  5. WidgetBuilder? emptyBuilder,
  6. WidgetBuilder? loadingBuilder,
  7. ErrorWidgetBuilder? errorBuilder,
  8. double? surfaceBlur,
  9. double? surfaceOpacity,
  10. bool? autoClose,
  11. bool? canUnselect,
  12. ScrollController? scrollController,
  13. bool shrinkWrap = true,
})

Implementation

const SelectPopup({
  super.key,
  this.items,
  this.searchController,
  this.searchPlaceholder,
  this.emptyBuilder,
  this.loadingBuilder,
  this.errorBuilder,
  this.surfaceBlur,
  this.surfaceOpacity,
  this.autoClose,
  this.canUnselect,
  this.scrollController,
  this.shrinkWrap = true,
})  : builder = null,
      enableSearch = false,
      disableVirtualization = false;