CustomCheckBox constructor
CustomCheckBox({
- Key? key,
- List<
String> ? checkboxList, - Color borderColor = Colors.black,
- TextStyle? labelTextStyle,
- Color checkIconColor = Colors.black,
- Color selectedBoxColor = Colors.transparent,
- double paddingBetweenTitleAndCheckBox = 0,
- Widget? widgetUnderTheLabel,
- double checkBoxWidth = 15,
- double checkBoxHeight = 15,
- required dynamic onChanged(
- dynamic
- required bool multipleChoice,
- Icon? checkBoxIcon,
- double iconSize = 1.4,
- double checkBoxSplashRadius = 10,
- bool clickableLabel = false,
- double borderWidth = 2.0,
- Color? checkBoxSplashColor,
- Color? clickableLabelSplashColor,
- String? textLabel,
- BorderRadius? borderRadius,
- BoxShape shape = BoxShape.rectangle,
- EdgeInsets margin = EdgeInsets.zero,
Implementation
CustomCheckBox({
super.key,
this.checkboxList,
this.borderColor = Colors.black,
this.labelTextStyle,
this.checkIconColor = Colors.black,
this.selectedBoxColor = Colors.transparent,
this.paddingBetweenTitleAndCheckBox = 0,
this.widgetUnderTheLabel,
this.checkBoxWidth = 15,
this.checkBoxHeight = 15,
required this.onChanged,
required this.multipleChoice,
this.checkBoxIcon,
this.iconSize = 1.4,
this.checkBoxSplashRadius = 10,
this.clickableLabel = false,
this.borderWidth = 2.0,
this.checkBoxSplashColor,
this.clickableLabelSplashColor,
this.textLabel,
this.borderRadius,
this.shape = BoxShape.rectangle,
this.margin = EdgeInsets.zero,
});