Creates a rounded-rectangular clip.
The borderRadius defaults to BorderRadius.zero, i.e. a rectangle with right-angled corners.
If clipper is non-null, then borderRadius is ignored.
Source
ClipRRect({
Key key,
this.borderRadius,
this.clipper,
Widget child,
}) : super(key: key, child: child) {
assert(borderRadius != null || clipper != null);
}