maskRect property Null safety
The position and size of the shader.
The shader is only rendered inside this rectangle, using the top left of the rectangle as its origin.
The scene must be explicitly recomposited after this property is changed (as described at Layer).
Implementation
Rect? get maskRect => _maskRect;
Implementation
set maskRect(Rect? value) {
if (value != _maskRect) {
_maskRect = value;
markNeedsAddToScene();
}
}