roundRect method
Implementation
DecoratedBox roundRect({double radius = 4, Color? borderColor, double bordeWidth = 1.0, Color? fillColor, BoxShadow? shadow}) {
return this.boxDecorated(
color: fillColor,
boxShadow: shadow == null ? null : [shadow],
borderRadius: BorderRadius.all(Radius.circular(radius)),
border: borderColor != null ? Border.all(color: borderColor, width: bordeWidth) : null,
);
}