PlexFormField.multiselect constructor
PlexFormField.multiselect({})
Implementation
PlexFormField.multiselect({
required this.title,
required this.onChange,
this.itemAsString,
this.editable = true,
this.initialSelection,
this.items,
this.itemsAsync,
this.dropdownWidget,
this.dropdownLeadingWidget,
}) {
if (items == null && itemsAsync == null) {
throw Exception("Items must be initialized or async item function must be initialized");
}
fieldType = TYPE_MULTISELECT;
}