withRounded method
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);