CarpenterCheckbox constructor

const CarpenterCheckbox({
  1. Key? key,
  2. bool? value,
  3. bool? checked,
  4. ValueChanged<bool>? onChanged,
  5. String? label,
  6. String? semanticLabel,
})

Создает checkbox.

Implementation

const CarpenterCheckbox({
  super.key,
  this.value,
  this.checked,
  this.onChanged,
  this.label,
  this.semanticLabel,
}) : assert(value != null || checked != null);