borderRadius property
The border radius of the rounded corners.
Values are clamped so that horizontal and vertical radii sums do not exceed width/height.
This property is ignored if the shape is not BoxShape.rectangle.
The value null is treated like BorderRadius.zero.
Implementation
BorderRadius? get borderRadius => _borderRadius;
Implementation
set borderRadius(BorderRadius? value) {
if (borderRadius == value) {
return;
}
_borderRadius = value;
_markNeedsClip();
}