MinCheckbox constructor

const MinCheckbox({
  1. Key? key,
  2. required bool value,
  3. ValueChanged<bool>? onChanged,
  4. MinCheckboxSize size = MinCheckboxSize.md,
  5. bool disabled = false,
  6. FocusNode? focusNode,
  7. bool autofocus = false,
  8. Color? side,
  9. Color? checkColor,
  10. Widget? checkIcon,
  11. CustomPainter? checkPainter,
  12. String? semanticLabel,
})

Implementation

const MinCheckbox({
  super.key,
  required this.value,
  this.onChanged,
  this.size = MinCheckboxSize.md,
  this.disabled = false,
  this.focusNode,
  this.autofocus = false,
  this.side,
  this.checkColor,
  this.checkIcon,
  this.checkPainter,
  this.semanticLabel,
});