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(
{Key? key,
required this.items,
required this.onChange,
this.title = "Select All",
this.unselectedColor,
this.selectedColor,
this.titleStyle,
this.columnCount = 1})
: super(key: key) {
titleStyle ??= Get.find<AppFonts>().M();
unselectedColor ??= Get.find<AppColors>().textColor;
selectedColor ??= const Color(0xFF6200EE);
}