toBorderRadius method
Implementation
BorderRadius toBorderRadius({Size? size, Size? screenSize}) {
return BorderRadius.only(
topLeft: topLeft.toRadius(size: size, screenSize: screenSize),
topRight: topRight.toRadius(size: size, screenSize: screenSize),
bottomLeft: bottomLeft.toRadius(size: size, screenSize: screenSize),
bottomRight: bottomRight.toRadius(size: size, screenSize: screenSize),
);
}