withRounded method

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

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