CheckboxProps constructor

const CheckboxProps({
  1. required String id,
  2. required bool checked,
  3. String? label,
  4. String? description,
  5. ComponentSize size = ComponentSize.md,
  6. ColorVariant color = ColorVariant.primary,
  7. bool disabled = false,
  8. void onChanged(
    1. bool
    )?,
  9. String? group,
  10. String? value,
  11. ArcaneStyleData? styles,
  12. ArcaneDecoration? decoration,
})

Implementation

const CheckboxProps({
  required this.id,
  required this.checked,
  this.label,
  this.description,
  this.size = ComponentSize.md,
  this.color = ColorVariant.primary,
  this.disabled = false,
  this.onChanged,
  this.group,
  this.value,
  this.styles,
  this.decoration,
});