CustomCheckBox constructor

const CustomCheckBox({
  1. Key? key,
  2. required bool? value,
  3. bool enable = true,
  4. String text = '',
  5. String description = '',
  6. Color textColor = Colors.black,
  7. Color activeColor = Colors.black,
  8. Color disableColor = Colors.grey,
  9. double size = 24,
  10. void onChanged(
    1. bool?
    )?,
})

Implementation

const CustomCheckBox({
  super.key,
  required this.value,
  this.enable = true,
  this.text = '',
  this.description = '',
  this.textColor = Colors.black,
  this.activeColor = Colors.black,
  this.disableColor = Colors.grey,
  this.size = 24,
  this.onChanged,
});