CustomCheckBox.icon constructor
CustomCheckBox.icon(})
Implementation
CustomCheckBox.icon(IconData checked, IconData normal, double size, {Function(bool)? onChanged, double? padding, bool? value, bool? enable})
: iconChecked = Icon(checked),
iconNormal = Icon(normal),
size = Size(size, size),
// iconDisable = nameDisable == null ? null : Image.asset(nameDisable),
onChanged = onChanged ?? onChanged,
value = value ?? false,
clickable = enable ?? true,
padding = padding ?? 0;