FormBuilderInput.checkboxList constructor
FormBuilderInput.checkboxList({@required String label, @required List<FormBuilderInputOption> options, @required String attribute, bool readonly: false, String hint, dynamic value, bool require: false, FormFieldValidator validator })
Implementation
FormBuilderInput.checkboxList({
@required this.label,
@required this.options,
@required this.attribute,
this.readonly = false,
this.hint,
this.value,
this.require = false,
this.validator,
}) : assert(value == null || value is List) {
value == value ?? []; // ignore: unnecessary_statements
type = FormBuilderInput.TYPE_CHECKBOX_LIST;
}