shapeStadium method

Widget shapeStadium({
  1. Color? fillColor,
  2. Color? borderColor,
  3. BorderSide? side,
})

Implementation

Widget shapeStadium({Color? fillColor, Color? borderColor, BorderSide? side}) {
  BorderSide? bs = side;
  if (bs == null && borderColor != null) {
    bs = BorderSide(color: borderColor);
  }
  return this.shapeDecorated(shape: StadiumBorder(side: bs ?? BorderSide.none), color: fillColor);
}