SelectPopup<T> constructor

const SelectPopup<T>({
  1. Key? key,
  2. required ValueListenable<List<T>> value,
  3. SearchFilter<T>? searchFilter,
  4. BoxConstraints? constraints,
  5. bool showUnrelatedValues = false,
  6. SelectValueChanged<T>? onChanged,
  7. String? searchPlaceholder,
  8. WidgetBuilder? emptyBuilder,
  9. bool orderSelectedFirst = true,
  10. double? surfaceBlur,
  11. double? surfaceOpacity,
  12. bool autoClose = true,
  13. SelectSearch? onSearch,
  14. required EdgeInsetsGeometry margin,
  15. required BorderRadiusGeometry borderRadius,
  16. required ValueListenable<List<AbstractSelectItem<T>>> children,
})

Implementation

const SelectPopup({
  super.key,
  required this.value,
  this.searchFilter,
  this.constraints,
  this.showUnrelatedValues = false,
  this.onChanged,
  this.searchPlaceholder,
  this.emptyBuilder,
  this.orderSelectedFirst = true,
  this.surfaceBlur,
  this.surfaceOpacity,
  this.autoClose = true,
  this.onSearch,
  required this.margin,
  required this.borderRadius,
  required this.children,
});