withRounded method

ClipRRect withRounded({
  1. required double radius,
})

The withRounded getter adds rounded corners to the Container with a specified radius.

The radius can be defined as a double value, and it will be applied to all corners of the Container.

Implementation

ClipRRect withRounded({required double radius}) => _rounded(radius: radius);