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