customRoundedPinBoxDecoration function
Implementation
BoxDecoration customRoundedPinBoxDecoration(
Color borderColor,
Color pinBoxColor, {
double borderWidth = 1.0,
double? radius,
}) {
return BoxDecoration(
border: Border.all(
color: borderColor,
width: borderWidth,
),
color: pinBoxColor,
borderRadius: const BorderRadius.all(Radius.circular(8)));
}