FormBuilderCheckboxList constructor

FormBuilderCheckboxList({Key key, @required String attribute, @required List<FormBuilderFieldOption> options, dynamic initialValue, List<FormFieldValidator> validators: const [], bool readOnly: false, bool leadingInput: false, InputDecoration decoration: const InputDecoration(), ValueChanged onChanged ValueTransformer valueTransformer, Color activeColor, Color checkColor, MaterialTapTargetSize materialTapTargetSize, bool tristate: false, FormFieldSetter onSaved })

Implementation

FormBuilderCheckboxList({
  Key key,
  @required this.attribute,
  @required this.options,
  this.initialValue,
  this.validators = const [],
  this.readOnly = false,
  this.leadingInput = false,
  this.decoration = const InputDecoration(),
  this.onChanged,
  this.valueTransformer,
  this.activeColor,
  this.checkColor,
  this.materialTapTargetSize,
  this.tristate = false,
  this.onSaved,
}) : super(key: key);