ShaderMaskLayer constructor

ShaderMaskLayer({
  1. Shader? shader,
  2. Rect? maskRect,
  3. BlendMode? blendMode,
})

Creates a shader mask layer.

The shader, maskRect, and blendMode properties must be non-null before the compositing phase of the pipeline.

Implementation

ShaderMaskLayer({this._shader, this._maskRect, this._blendMode});