customRoundedPinBoxDecoration function

BoxDecoration customRoundedPinBoxDecoration(
  1. Color borderColor,
  2. Color pinBoxColor, {
  3. double borderWidth = 1.0,
  4. double? radius,
})

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)));
}