Checkbox constructor
const
Checkbox({
- required bool checked,
- String? label,
- String? description,
- CheckboxSize size = CheckboxSize.medium,
- CheckboxStyle? style,
- bool disabled = false,
- void onChanged()?,
- 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,
});