MultiSelect<T> constructor
const
MultiSelect<T> ({
- Key? key,
- ValueChanged<
List< ? onChanged,T> > - SearchFilter<
T> ? searchFilter, - Widget? placeholder,
- bool filled = false,
- FocusNode? focusNode,
- BoxConstraints? constraints,
- BoxConstraints? popupConstraints,
- PopoverConstraint popupWidthConstraint = PopoverConstraint.anchorFixedSize,
- required List<
T> value, - bool orderSelectedFirst = true,
- bool disableHoverEffect = false,
- BorderRadiusGeometry? borderRadius,
- String? searchPlaceholder,
- EdgeInsetsGeometry? padding,
- AlignmentGeometry popoverAlignment = Alignment.topCenter,
- AlignmentGeometry? popoverAnchorAlignment,
- WidgetBuilder? emptyBuilder,
- double? surfaceBlur,
- double? surfaceOpacity,
- bool autoClosePopover = false,
- SelectSearch? onSearch,
- required Widget itemBuilder(
- BuildContext context,
- T item
- required List<
AbstractSelectItem< children,T> >
Implementation
const MultiSelect({
super.key,
this.onChanged,
this.searchFilter,
this.placeholder,
this.filled = false,
this.focusNode,
this.constraints,
this.popupConstraints,
this.popupWidthConstraint = PopoverConstraint.anchorFixedSize,
required this.value,
this.showUnrelatedValues = false,
this.orderSelectedFirst = true,
this.disableHoverEffect = false,
this.borderRadius,
this.searchPlaceholder,
this.padding,
this.popoverAlignment = Alignment.topCenter,
this.popoverAnchorAlignment,
this.emptyBuilder,
this.surfaceBlur,
this.surfaceOpacity,
this.autoClosePopover = false,
this.onSearch,
required this.itemBuilder,
required this.children,
});