resolve method
This style with every remaining default filled in.
Colours left null use Material's own checkbox and radio defaults, so the widgets keep following the app theme.
Implementation
CheckboxStyle resolve(ColorScheme scheme) {
return CheckboxStyle(
size: size,
checkedColor: checkedColor,
uncheckedColor: uncheckedColor,
checkColor: checkColor,
borderRadius: borderRadius,
gapAfterBox: gapAfterBox ?? 5,
interactive: interactive ?? false,
);
}