BasicCheckbox constructor
BasicCheckbox({
- Key? key,
- required bool? value,
- Color? activeColor,
- ValueChanged<
bool?> ? onChanged, - ValueWaitChanged<
bool?> ? onWaitChanged, - OutlinedBorder? shape,
Implementation
BasicCheckbox({
super.key,
required super.value,
Color? activeColor,
super.onChanged,
super.onWaitChanged,
OutlinedBorder? shape,
}) : super(
builder: (bool? value, onChanged) => Checkbox(
shape: shape,
activeColor: activeColor ?? GlobalConfig().currentColor,
value: value,
onChanged: onChanged));