MultiSelect<T> constructor

const MultiSelect<T>({
  1. Key? key,
  2. ValueChanged<Iterable<T>?>? onChanged,
  3. String? placeholder,
  4. Widget? placeholderWidget,
  5. bool filled = false,
  6. FocusNode? focusNode,
  7. BoxConstraints? constraints,
  8. BoxConstraints? popupConstraints,
  9. PopoverConstraint popupWidthConstraint = PopoverConstraint.anchorFixedSize,
  10. required Iterable<T>? value,
  11. bool disableHoverEffect = false,
  12. BorderRadiusGeometry? borderRadius,
  13. EdgeInsetsGeometry? padding,
  14. AlignmentGeometry popoverAlignment = Alignment.topCenter,
  15. AlignmentGeometry? popoverAnchorAlignment,
  16. bool canUnselect = true,
  17. bool? autoClosePopover = false,
  18. bool? enabled,
  19. SelectValueSelectionHandler<Iterable<T>>? valueSelectionHandler,
  20. SelectValueSelectionPredicate<Iterable<T>>? valueSelectionPredicate,
  21. required SelectPopupBuilder popup,
  22. required SelectValueBuilder<T> itemBuilder,
})

Implementation

const MultiSelect({
  super.key,
  this.onChanged,
  this.placeholder,
  this.placeholderWidget,
  this.filled = false,
  this.focusNode,
  this.constraints,
  this.popupConstraints,
  this.popupWidthConstraint = PopoverConstraint.anchorFixedSize,
  required this.value,
  this.disableHoverEffect = false,
  this.borderRadius,
  this.padding,
  this.popoverAlignment = Alignment.topCenter,
  this.popoverAnchorAlignment,
  this.canUnselect = true,
  this.autoClosePopover = false,
  this.enabled,
  this.valueSelectionHandler,
  this.valueSelectionPredicate,
  required this.popup,
  required SelectValueBuilder<T> itemBuilder,
}) : multiItemBuilder = itemBuilder;