boxDecoration method
Implementation
BoxDecoration boxDecoration(Color bgColor, {Color borderColor = const Color(0XFFE1E1E1), double borderWidth = 0.5}) {
return BoxDecoration(
shape: BoxShape.rectangle,
borderRadius: BorderRadius.all(Radius.circular(w)),
border: Border.all(color: borderColor, width: borderWidth),
color: bgColor);
}