getBorderRadius method

double getBorderRadius()

Radius to the corner

Implementation

double getBorderRadius() {
  return widget.borderRadius ?? (widget.height + 10) / 2;
}