Checkbox constructor

const Checkbox({
  1. required bool checked,
  2. String? label,
  3. String? description,
  4. CheckboxSize size = CheckboxSize.medium,
  5. CheckboxStyle? style,
  6. bool disabled = false,
  7. void onChanged(
    1. bool
    )?,
  8. Key? key,
})

Implementation

const Checkbox({
  required this.checked,
  this.label,
  this.description,
  this.size = CheckboxSize.medium,
  this.style,
  this.disabled = false,
  this.onChanged,
  super.key,
});