border method
void
border({})
Implementation
void border({
double? all,
double? left,
double? right,
double? top,
double? bottom,
Color color = const Color(0xFF000000),
BorderStyle style = BorderStyle.solid,
}) {
_border = Border(
left: (left ?? all) == null ? BorderSide.none : BorderSide(color: color, width: left ?? all!, style: style),
right: (right ?? all) == null ? BorderSide.none : BorderSide(color: color, width: right ?? all!, style: style),
top: (top ?? all) == null ? BorderSide.none : BorderSide(color: color, width: top ?? all!, style: style),
bottom: (bottom ?? all) == null ? BorderSide.none : BorderSide(color: color, width: bottom ?? all!, style: style),
);
}