SubZeroCheckbox constructor

const SubZeroCheckbox({
  1. Key? key,
  2. required bool? value,
  3. required ValueChanged<bool?>? onChanged,
  4. String? label,
  5. bool tristate = false,
  6. bool enabled = true,
  7. SubZeroCheckboxSize size = SubZeroCheckboxSize.medium,
  8. String? semanticLabel,
  9. TextStyle? labelStyle,
  10. Color? activeColor,
  11. Color? checkColor,
  12. Color? borderColor,
})

Implementation

const SubZeroCheckbox({
  super.key,
  required this.value,
  required this.onChanged,
  this.label,
  this.tristate = false,
  this.enabled = true,
  this.size = SubZeroCheckboxSize.medium,
  this.semanticLabel,
  this.labelStyle,
  this.activeColor,
  this.checkColor,
  this.borderColor,
});