CheckBoxList constructor
CheckBoxList({
- Key? key,
- required List<
CheckBoxItem> items, - required void onChange(
- List<
CheckBoxItem> items
- List<
- String title = "Select All",
- Color? unselectedColor,
- Color? selectedColor,
- TextStyle? titleStyle,
- int columnCount = 1,
Implementation
CheckBoxList(
{super.key,
required this.items,
required this.onChange,
this.title = "Select All",
Color? unselectedColor,
Color? selectedColor,
TextStyle? titleStyle,
this.columnCount = 1})
: titleStyle = titleStyle ?? Get.find<AppFonts>().S(),
unselectedColor = unselectedColor ?? Get.find<AppColors>().textColor,
selectedColor = selectedColor ?? const Color(0xFF6200EE);