CheckboxProps constructor
const
CheckboxProps({
- required bool checked,
- String? label,
- String? description,
- ComponentSize size = ComponentSize.md,
- ColorVariant color = ColorVariant.primary,
- bool disabled = false,
- void onChanged()?,
Implementation
const CheckboxProps({
required this.checked,
this.label,
this.description,
this.size = ComponentSize.md,
this.color = ColorVariant.primary,
this.disabled = false,
this.onChanged,
});