SelectPopup<T> constructor

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

Implementation

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