ModulaCheckbox constructor

const ModulaCheckbox({
  1. required bool value,
  2. required ValueChanged<bool> onChanged,
  3. Key? key,
  4. String? label,
  5. ModulaCheckboxShape shape = ModulaCheckboxShape.square,
  6. Color activeColor = Colors.blue,
  7. Color? inactiveColor,
  8. double size = 24,
  9. bool enabled = true,
})

Implementation

const ModulaCheckbox({
  required this.value,
  required this.onChanged,
  super.key,
  this.label,
  this.shape = ModulaCheckboxShape.square,
  this.activeColor = Colors.blue,
  this.inactiveColor,
  this.size = 24,
  this.enabled = true,
});