clipRRect method
Widget
clipRRect({
- required BorderRadius borderRadius,
- Key? key,
- CustomClipper<
RRect> ? clipper, - Clip clipBehavior = Clip.antiAlias,
A widget that clips its child using a rounded rectangle.
Implementation
Widget clipRRect({
required BorderRadius borderRadius,
Key? key,
CustomClipper<RRect>? clipper,
Clip clipBehavior = Clip.antiAlias,
}) {
return ClipRRect(
key: key,
borderRadius: borderRadius,
clipper: clipper,
clipBehavior: clipBehavior,
child: this,
);
}