FormBuilderCheckbox constructor
FormBuilderCheckbox({@required String attribute, @required Widget label, bool initialValue: false, List<FormFieldValidator> validators: const [], bool readonly: false, InputDecoration decoration: const InputDecoration(), ValueChanged onChanged, ValueTransformer valueTransformer, bool leadingInput: false, Color activeColor, Color checkColor, MaterialTapTargetSize materialTapTargetSize, bool tristate: false })
Implementation
FormBuilderCheckbox({
@required this.attribute,
@required this.label,
this.initialValue = false,
this.validators = const [],
this.readonly = false,
this.decoration = const InputDecoration(),
this.onChanged,
this.valueTransformer,
this.leadingInput = false,
this.activeColor,
this.checkColor,
this.materialTapTargetSize,
this.tristate = false,
});