radiusOnly function
returns custom Radius on each side
Implementation
BorderRadius radiusOnly({
double? topRight,
double? topLeft,
double? bottomRight,
double? bottomLeft,
}) {
return BorderRadius.only(
topRight: radiusCircular(topRight ?? 0),
topLeft: radiusCircular(topLeft ?? 0),
bottomRight: radiusCircular(bottomRight ?? 0),
bottomLeft: radiusCircular(bottomLeft ?? 0),
);
}