CheckboxProps constructor

const CheckboxProps({
  1. required bool checked,
  2. String? label,
  3. String? description,
  4. CheckboxSize size = CheckboxSize.medium,
  5. CheckboxVariant variant = CheckboxVariant.primary,
  6. bool disabled = false,
  7. void onChanged(
    1. bool
    )?,
})

Implementation

const CheckboxProps({
  required this.checked,
  this.label,
  this.description,
  this.size = CheckboxSize.medium,
  this.variant = CheckboxVariant.primary,
  this.disabled = false,
  this.onChanged,
});