checkboxColors static method
Implementation
static MiuixCheckboxColors checkboxColors(BuildContext context) {
final c = MiuixTheme.of(context).colors;
return MiuixCheckboxColors(
checkedForegroundColor: c.onPrimary,
uncheckedForegroundColor: c.secondary,
disabledCheckedForegroundColor: c.disabledOnPrimary,
disabledUncheckedForegroundColor: c.disabledOnPrimary,
checkedBackgroundColor: c.primary,
uncheckedBackgroundColor: c.secondary,
disabledCheckedBackgroundColor: c.disabledPrimary,
disabledUncheckedBackgroundColor: c.disabledSecondary,
);
}