AtomicCheckbox constructor

const AtomicCheckbox({
  1. Key? key,
  2. required bool? value,
  3. required ValueChanged<bool?>? onChanged,
  4. Color? activeColor,
  5. Color? checkColor,
  6. Color? inactiveColor,
  7. Color? borderColor,
  8. String? label,
  9. AtomicCheckboxLabelPosition labelPosition = AtomicCheckboxLabelPosition.end,
  10. AtomicCheckboxSize size = AtomicCheckboxSize.medium,
  11. AtomicCheckboxShape shape = AtomicCheckboxShape.rounded,
  12. bool enabled = true,
  13. bool tristate = false,
})

Implementation

const AtomicCheckbox({
  super.key,
  required this.value,
  required this.onChanged,
  this.activeColor,
  this.checkColor,
  this.inactiveColor,
  this.borderColor,
  this.label,
  this.labelPosition = AtomicCheckboxLabelPosition.end,
  this.size = AtomicCheckboxSize.medium,
  this.shape = AtomicCheckboxShape.rounded,
  this.enabled = true,
  this.tristate = false,
});