mBorder function
Border
mBorder({
- Color borderColor = BaseColors.cGrayLine,
- double width = 0,
- BorderStyle style = BorderStyle.solid,
获取共通border
Implementation
Border mBorder({
Color borderColor = BaseColors.cGrayLine,
double width = 0,
BorderStyle style = BorderStyle.solid,
}) {
return Border(
top: BorderSide(
color: borderColor,
width: width,
style: style,
),
bottom: BorderSide(
color: borderColor,
width: width,
style: style,
),
left: BorderSide(
color: borderColor,
width: width,
style: style,
),
right: BorderSide(
color: borderColor,
width: width,
style: style,
),
);
}