borderRadius property
The radii for each corner.
Each corner Radius defines the endpoints for a line segment that spans the corner. The endpoints are located in the same place as They would be for RoundedRectangleBorder.
Negative radius values are clamped to 0.0 by getInnerPath and getOuterPath.
Implementation
final BorderRadiusGeometry borderRadius;