roundedRight method
ClipRRect
roundedRight({
- Key? key,
- double radius = 8,
- Clip clipBehavior = .antiAlias,
- CustomClipper<
RRect> ? clipper,
Returns a new rounded widget from right with the given radius.
Implementation
ClipRRect roundedRight({
Key? key,
double radius = 8,
Clip clipBehavior = .antiAlias,
CustomClipper<RRect>? clipper,
}) {
return ClipRRect(
key: key,
clipBehavior: clipBehavior,
clipper: clipper,
borderRadius: .horizontal(right: .circular(radius)),
child: this,
);
}