RenderSliverClipRRect constructor
- BorderRadiusGeometry borderRadius = .zero,
- CustomClipper<
RRect> ? clipper, - Clip clipBehavior = .antiAlias,
- ClipOverlapBehavior clipOverlap = .followEdge,
- TextDirection? textDirection,
Creates a sliver render object for clipping with a rounded rectangle.
The borderRadius defaults to BorderRadius.zero, i.e. a rectangle with
right-angled corners.
If clipper is non-null, then borderRadius is ignored.
If clipBehavior is Clip.none, no clipping will be applied.
The clipBehavior argument defaults to Clip.antiAlias.
Implementation
RenderSliverClipRRect({
this._borderRadius = .zero,
super.clipper,
super.clipBehavior = .antiAlias,
super.clipOverlap = .followEdge,
this._textDirection,
});