ArcaneCheckbox constructor
const
ArcaneCheckbox({
- required bool checked,
- String? label,
- String? description,
- ComponentSize size = ComponentSize.md,
- ColorVariant color = ColorVariant.primary,
- bool disabled = false,
- void onChanged()?,
- void onToggle()?,
- Key? key,
Implementation
const ArcaneCheckbox({
required this.checked,
this.label,
this.description,
this.size = ComponentSize.md,
this.color = ColorVariant.primary,
this.disabled = false,
void Function(bool)? onChanged,
void Function(bool)? onToggle,
super.key,
}) : _onChanged = onChanged ?? onToggle;