AuiCheckbox constructor

const AuiCheckbox({
  1. Key? key,
  2. required bool? value,
  3. required ValueChanged<bool?>? onChanged,
  4. String? label,
  5. CheckboxLabelPosition labelPosition = CheckboxLabelPosition.right,
  6. Color? activeColor,
  7. Color checkColor = Colors.white,
  8. bool disabled = false,
  9. bool tristate = false,
})

Creates an AuiCheckbox.

Implementation

const AuiCheckbox({
  super.key,
  required this.value,
  required this.onChanged,
  this.label,
  this.labelPosition = CheckboxLabelPosition.right,
  this.activeColor,
  this.checkColor = Colors.white,
  this.disabled = false,
  this.tristate = false,
});