getItemStyle method

AntdBoxStyle getItemStyle(
  1. AntdMapToken token
)

Implementation

AntdBoxStyle getItemStyle(AntdMapToken token) {
  var border = token.border.copyWith(width: 0.5);
  return AntdBoxStyle(
      margin: EdgeInsets.only(left: token.size.sm.roundToDouble()),
      padding: EdgeInsets.symmetric(vertical: token.size.sm.roundToDouble()),
      color: token.colorBgContainer,
      textStyle: token.font.ms,
      border: Border(bottom: border));
}