TCheckBox constructor

const TCheckBox({
  1. Key? key,
  2. required String caption,
  3. bool checked = false,
  4. TCheckBoxState state = TCheckBoxState.cbUnchecked,
  5. bool allowGrayed = false,
  6. bool enabled = true,
  7. void onChange(
    1. bool checked
    )?,
  8. TextStyle? font,
  9. bool dense = false,
})

Implementation

const TCheckBox({
  super.key,
  required this.caption,
  this.checked = false,
  this.state = TCheckBoxState.cbUnchecked,
  this.allowGrayed = false,
  this.enabled = true,
  this.onChange,
  this.font,
  this.dense = false,
});