ClipPathLayer({Path clipPath })

Creates a layer with a path-based clip.

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

Source

ClipPathLayer({ this.clipPath });