getDefaultStyle method
AntdProgressBarStyle
getDefaultStyle(
- BuildContext context,
- AntdTheme theme,
- AntdMapToken token
override
Implementation
@override
AntdProgressBarStyle getDefaultStyle(
BuildContext context, AntdTheme theme, AntdMapToken token) {
return AntdProgressBarStyle(
color: token.colorFill.secondary,
progressColor:
color != null ? color!.getColor(token) : token.colorPrimary,
textStyle: AntdBoxStyle(
margin: token.size.seed.left,
textStyle: token.font.sm.copyWith(color: token.colorText.tertiary)),
radius: token.radius.seed);
}