roundedSides method
Apply rounded corners on specific sides (left/right/top/bottom)
Implementation
BoxDecoration roundedSides({
double top = 0,
double right = 0,
double bottom = 0,
double left = 0,
}) =>
copyWith(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(top),
topRight: Radius.circular(right),
bottomLeft: Radius.circular(bottom),
bottomRight: Radius.circular(left),
),
);