only static method
Custom border radius
Implementation
static BorderRadius only({
double topLeft = 0,
double topRight = 0,
double bottomLeft = 0,
double bottomRight = 0,
}) {
return BorderRadius.only(
topLeft: Radius.circular(ScreenUtil.instance.radius(topLeft)),
topRight: Radius.circular(ScreenUtil.instance.radius(topRight)),
bottomLeft: Radius.circular(ScreenUtil.instance.radius(bottomLeft)),
bottomRight: Radius.circular(ScreenUtil.instance.radius(bottomRight)),
);
}