ShaderMask constructor
- Key? key,
- required ShaderCallback shaderCallback,
- BlendMode blendMode = BlendMode.modulate,
- Widget? child,
Creates a widget that applies a mask generated by a Shader to its child.
Implementation
const ShaderMask({
super.key,
required this.shaderCallback,
this.blendMode = BlendMode.modulate,
super.child,
});