decorSolidBorder function

dynamic decorSolidBorder({
  1. Color? colorBorder,
  2. Color? colorSolid,
  3. double? radius,
  4. double? borderWidth,
})

Implementation

decorSolidBorder(
        {Color? colorBorder,
        Color? colorSolid,
        double? radius,
        double? borderWidth}) =>
    BoxDecoration(
        border: Border.all(
            color: colorBorder ?? colorGrey5, width: borderWidth ?? 0.5),
        borderRadius: BorderRadius.circular(radius ?? 10),
        color: colorSolid);