ZeroCheckbox constructor

const ZeroCheckbox({
  1. Key? key,
  2. required bool? value,
  3. required ValueChanged<bool?>? onChanged,
  4. bool tristate = false,
  5. MaterialTapTargetSize? materialTapTargetSize,
  6. VisualDensity? visualDensity,
  7. MouseCursor? mouseCursor,
  8. FocusNode? focusNode,
  9. bool autofocus = false,
  10. ZeroSizeType size = ZeroSizeType.medium,
  11. bool isDisabled = false,
  12. ZeroCheckboxStyle? style,
})

Implementation

const ZeroCheckbox({
  super.key,
  required this.value,
  required this.onChanged,
  this.tristate = false,
  this.materialTapTargetSize,
  this.visualDensity,
  this.mouseCursor,
  this.focusNode,
  this.autofocus = false,
  this.size = ZeroSizeType.medium,
  this.isDisabled = false,
  this.style,
});