only static method
Implementation
static BorderRadius only({
double? topLeft,
double? topRight,
double? bottomLeft,
double? bottomRight,
}) {
return BorderRadius.only(
topLeft: topLeft == null ? Radius.zero : Radius.circular(topLeft.r),
topRight: topRight == null ? Radius.zero : Radius.circular(topRight.r),
bottomLeft:
bottomLeft == null ? Radius.zero : Radius.circular(bottomLeft.r),
bottomRight:
bottomRight == null ? Radius.zero : Radius.circular(bottomRight.r),
);
}