AtomicCheckbox constructor
const
AtomicCheckbox({
- Key? key,
- required bool? value,
- required ValueChanged<
bool?> ? onChanged, - Color? activeColor,
- Color? checkColor,
- Color? inactiveColor,
- Color? borderColor,
- String? label,
- AtomicCheckboxLabelPosition labelPosition = AtomicCheckboxLabelPosition.end,
- AtomicCheckboxSize size = AtomicCheckboxSize.medium,
- AtomicCheckboxShape shape = AtomicCheckboxShape.rounded,
- bool enabled = true,
- bool tristate = false,
Implementation
const AtomicCheckbox({
super.key,
required this.value,
required this.onChanged,
this.activeColor,
this.checkColor,
this.inactiveColor,
this.borderColor,
this.label,
this.labelPosition = AtomicCheckboxLabelPosition.end,
this.size = AtomicCheckboxSize.medium,
this.shape = AtomicCheckboxShape.rounded,
this.enabled = true,
this.tristate = false,
});