shapeRounded method

Widget shapeRounded({
  1. Color? fillColor,
  2. Color? borderColor,
  3. BorderSide? side,
  4. double radius = 4,
})

Implementation

Widget shapeRounded({Color? fillColor, Color? borderColor, BorderSide? side, double radius = 4}) {
  BorderSide? bs = side;
  if (bs == null && borderColor != null) {
    bs = BorderSide(color: borderColor);
  }
  return this.shapeDecorated(shape: RoundedRectangleBorder(side: bs ?? BorderSide.none, borderRadius: BorderRadius.circular(radius)), color: fillColor);
}