RenderClipRect constructor

RenderClipRect({
  1. RenderBox? child,
  2. CustomClipper<Rect>? clipper,
  3. Clip clipBehavior = Clip.antiAlias,
})

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.

Implementation

RenderClipRect({super.child, super.clipper, super.clipBehavior});