getDefaultStyle method
AntdFooterStyle
getDefaultStyle(
- BuildContext context,
- AntdTheme theme,
- AntdMapToken token
override
Implementation
@override
AntdFooterStyle getDefaultStyle(
BuildContext context, AntdTheme theme, AntdMapToken token) {
var chipStyle = AntdBoxStyle(
textStyle: token.font.xs.copyWith(color: token.colorText.secondary),
color: token.colorFill.tertiary,
radius: 9999.radius.all,
margin: token.size.xxl.right.marge(token.size.seed.vertical),
padding: token.size.xs.vertical.marge(token.size.lg.horizontal));
return AntdFooterStyle(
labelStyle: AntdBoxStyle(
textStyle: token.font.ms.copyWith(color: token.colorText.tertiary),
padding: token.size.xl.horizontal,
margin: token.size.xl.vertical),
linkStyle: AntdBoxStyle(
textStyle: token.font.sm.copyWith(color: token.colorLink),
padding: token.size.ms.vertical),
contentStyle: AntdBoxStyle(
alignment: Alignment.center,
textStyle: token.font.sm.copyWith(color: token.colorText.tertiary),
margin: token.size.ms.vertical),
chipStyle: chipStyle,
chipActiveStyle: chipStyle.copyWith(
color: token.colorLink.bg,
textStyle: chipStyle.textStyle?.copyWith(color: token.colorLink)));
}