CheckBoxSingle constructor
CheckBoxSingle({
- Key? key,
- required CheckBoxItem item,
- required void onChanged(
- bool value
- Color? unselectedColor,
- Color? selectedColor,
Implementation
CheckBoxSingle({
super.key,
required this.item,
required this.onChanged,
Color? unselectedColor,
Color? selectedColor,
}) : unselectedColor = unselectedColor ?? Get.find<AppColors>().textColor,
selectedColor = selectedColor ?? const Color(0xFF6200EE);