margeBorder method
Implementation
AntdActionStyle margeBorder(bool first, bool last) {
var border = bodyStyle?.border;
if (border == null) {
return this;
}
border = Border(
top: border.top,
bottom: border.bottom,
left: first
? BorderSide.none
: BorderSide(
color: border.left.color,
width: border.left.width / 2,
),
right: last
? BorderSide.none
: BorderSide(
color: border.right.color, width: border.right.width / 2));
return copyFrom(AntdActionStyle(bodyStyle: AntdBoxStyle(border: border)));
}