getDefaultStyle method
AntdJumboStyle
getDefaultStyle(
- BuildContext context,
- AntdTheme theme,
- AntdMapToken token
override
Implementation
@override
AntdJumboStyle getDefaultStyle(
BuildContext context, AntdTheme theme, AntdMapToken token) {
var style = AntdJumboStyle(
tabStyle: AntdBoxStyle(
padding: token.size.lg.vertical,
border: token.border.bottom,
),
panelStyle: AntdBoxStyle(
padding: token.size.lg.all,
),
titleStyle: AntdBoxStyle(
textStyle: token.font.xl, padding: token.size.xs.horizontal),
activeTitleStyle:
AntdBoxStyle(textStyle: TextStyle(color: token.colorPrimary)),
descStyle: AntdBoxStyle(
radius: token.radius.lg.all,
margin: token.size.xxs.top,
padding: token.size.ms.horizontal,
color: token.colorFill.tertiary,
textStyle: token.font.sm.copyWith(color: token.colorText.tertiary),
),
activeDescTextStyle: AntdBoxStyle(
color: token.colorPrimary,
textStyle: TextStyle(color: token.colorWhite)),
);
return margeStyle(
style, theme.jumboStyle?.call(context, this, style, token));
}