OptimusCheckBoxFormField constructor

const OptimusCheckBoxFormField({
  1. Key? key,
  2. required Widget label,
  3. ValueChanged<bool?>? onSaved,
  4. bool initialValue = false,
  5. bool isEnabled = true,
  6. OptimusCheckboxSize size = OptimusCheckboxSize.large,
  7. FormFieldValidator<bool>? validator,
  8. AutovalidateMode? autovalidateMode,
})

Implementation

const OptimusCheckBoxFormField({
  super.key,
  required this.label,
  this.onSaved,
  this.initialValue = false,
  this.isEnabled = true,
  this.size = OptimusCheckboxSize.large,
  this.validator,
  this.autovalidateMode,
});