getDefaultStyle method
Implementation
@override
AntdTabsStyle getDefaultStyle(
BuildContext context, AntdTheme theme, AntdMapToken token) {
var style = AntdTabsStyle(
tabStyle: AntdBoxStyle(
padding: token.size.lg.vertical,
border: token.border.bottom,
),
panelStyle: AntdBoxStyle(
padding: token.size.lg.all,
),
activeTitleStyle: AntdBoxStyle(
color: token.colorPrimary,
textStyle: TextStyle(color: token.colorWhite)),
titleStyle: AntdBoxStyle(
radius: BorderRadius.circular(20),
color: token.colorFill.tertiary,
margin: token.size.sm.horizontal,
padding: token.size.ms.vertical.marge(token.size.xxl.horizontal),
textStyle: token.font.md,
),
);
return margeStyle(
style, theme.capsuleTabsStyle?.call(context, this, style, token));
}