HMCheckBox constructor

const HMCheckBox({
  1. Key? key,
  2. String? label,
  3. bool disabled = false,
  4. bool hidden = false,
  5. HMRadius? radius,
  6. Color? checkIconColor,
  7. Color? labelTextColor,
  8. Color? borderColor,
  9. HMCheckBoxSize? size,
  10. required bool value,
  11. Color? color,
  12. required void onChange(
    1. bool
    ),
})

Implementation

const HMCheckBox({
  super.key,
  this.label,
  this.disabled = false,
  this.hidden = false,
  this.radius,
  this.checkIconColor,
  this.labelTextColor,
  this.borderColor,
  this.size,
  required this.value,
  this.color,
  required this.onChange,
});