withRounded method
Adds rounded corners to the widget with a specified radius.
radius
is the radius to be applied to all corners of the widget.
Returns a ClipRRect widget with the specified border radius.
Implementation
ClipRRect withRounded({required double radius}) => _rounded(radius: radius);