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