getDefaultStyle method
AntdActionStyle
getDefaultStyle(
- BuildContext context,
- AntdTheme theme,
- AntdMapToken token
override
Implementation
@override
AntdActionStyle getDefaultStyle(
BuildContext context, AntdTheme theme, AntdMapToken token) {
var superStyle = AntdActionStyle.defaultStyle(token, this);
return margeStyle(
superStyle,
AntdActionStyle(
bodyStyle: AntdBoxStyle(
border: bottom == true
? token.border.horizontal
: token.border.bottom,
padding:
token.size.md.vertical.marge(token.size.lg.horizontal)),
titleStyle: AntdBoxStyle(
textStyle: superStyle.titleStyle?.textStyle?.copyWith(
color: primary != false && danger != true
? token.colorPrimary
: null))));
}