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 })

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,
});