MultiSelect<T> constructor
const
MultiSelect<T> ({
- Key? key,
- ValueChanged<
Iterable< ? onChanged,T> ?> - String? placeholder,
- Widget? placeholderWidget,
- bool filled = false,
- FocusNode? focusNode,
- BoxConstraints? constraints,
- BoxConstraints? popupConstraints,
- PopoverConstraint popupWidthConstraint = PopoverConstraint.anchorFixedSize,
- required Iterable<
T> ? value, - bool disableHoverEffect = false,
- BorderRadiusGeometry? borderRadius,
- EdgeInsetsGeometry? padding,
- AlignmentGeometry popoverAlignment = Alignment.topCenter,
- AlignmentGeometry? popoverAnchorAlignment,
- bool canUnselect = true,
- bool? autoClosePopover = false,
- bool? enabled,
- SelectValueSelectionHandler<
Iterable< ? valueSelectionHandler,T> > - SelectValueSelectionPredicate<
Iterable< ? valueSelectionPredicate,T> > - required SelectPopupBuilder popup,
- 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;