ClipRectLayer({Rect clipRect })

Creates a layer with a rectangular clip.

The clipRect property must be non-null before the compositing phase of the pipeline.

Source

ClipRectLayer({ this.clipRect });