getDefaultStyle method
AntdSegmentedStyle
getDefaultStyle(
- BuildContext context,
- AntdTheme theme,
- AntdMapToken token
override
Implementation
@override
AntdSegmentedStyle getDefaultStyle(
BuildContext context, AntdTheme theme, AntdMapToken token) {
return AntdSegmentedStyle(
bodyStyle: AntdBoxStyle(
padding: token.size.xxs.all,
color: token.colorFill.tertiary,
radius: token.radius.all),
bodyRowStyle: const AntdFlexStyle(mainAxisSize: MainAxisSize.min),
itemStyle: AntdBoxStyle(
padding: token.size.lg.horizontal.marge(token.size.xs.vertical),
),
activeItemStyle: AntdBoxStyle(color: token.colorBgContainer));
}