defaultColors static method
返回线性与圆形进度指示器的默认颜色。
Implementation
static MiuixProgressIndicatorColors defaultColors(BuildContext context) {
final colors = MiuixTheme.of(context).colors;
return MiuixProgressIndicatorColors(
foregroundColor: colors.primary,
disabledForegroundColor: colors.disabledPrimarySlider,
backgroundColor: colors.secondaryContainer,
);
}