boxDecoration function

BoxDecoration boxDecoration({
  1. double radius = defaultRadius,
  2. double borderWidth = defaultBorderWidth,
  3. Color color = Colors.red,
})

Implementation

BoxDecoration boxDecoration({
  double radius = defaultRadius,
  double borderWidth = defaultBorderWidth,
  Color color = Colors.red,
}) =>
    BoxDecoration(
      border: Border.all(color: color, width: borderWidth),
      borderRadius: borderRadius(radius),
      color: Colors.transparent,
    );