clipRRect method

Widget clipRRect({
  1. double radius = 20,
})

Implementation

Widget clipRRect({double radius = 20}) {
  return ClipRRect(
    borderRadius: BorderRadius.circular(radius ?? 0),
    child: this,
  );
}