getDefaultStyle method
AntdResultStyle
getDefaultStyle(
- BuildContext context,
- AntdTheme theme,
- AntdMapToken token
override
Implementation
@override
AntdResultStyle getDefaultStyle(
BuildContext context, AntdTheme theme, AntdMapToken token) {
return AntdResultStyle(
bodyStyle: AntdBoxStyle(
width: double.infinity,
padding: token.size.xxl.vertical.marge(token.size.md.horizontal),
),
iconStyle: AntdIconStyle(
size: 64,
color: getColor(token),
bodyStyle: AntdBoxStyle(
padding: token.size.sm.all, margin: token.size.xl.bottom)),
titleStyle: AntdBoxStyle(
textStyle: token.font.xxl,
),
descStyle: AntdBoxStyle(
alignment: Alignment.center,
margin: token.size.seed.top,
textStyle: token.font.sm.copyWith(color: token.colorText.tertiary)),
columnStyle: const AntdFlexStyle(
mainAxisSize: MainAxisSize.min,
));
}