RenderSliverClipRect constructor
- CustomClipper<
Rect> ? clipper, - Clip clipBehavior = .hardEdge,
- ClipOverlapBehavior clipOverlap = .followEdge,
Creates a rectangular clip.
If clipper is null, the clip will match the layout size and position of
the child.
If clipBehavior is Clip.none, no clipping will be applied.
The clipBehavior argument defaults to Clip.hardEdge.
Implementation
RenderSliverClipRect({
super.clipper,
super.clipBehavior = .hardEdge,
super.clipOverlap = .followEdge,
});