RenderShaderMask constructor
- RenderBox? child,
- required ShaderCallback shaderCallback,
- BlendMode blendMode = BlendMode.modulate,
Creates a render object that applies a mask generated by a Shader to its child.
Implementation
RenderShaderMask({
RenderBox? child,
required ShaderCallback shaderCallback,
BlendMode blendMode = BlendMode.modulate,
}) : _shaderCallback = shaderCallback,
_blendMode = blendMode,
super(child);