maskRect property

Rect maskRect

The size of the shader.

The scene must be explicitly recomposited after this property is changed (as described at Layer).

Implementation

Rect get maskRect => _maskRect;
void maskRect= (Rect value)

Implementation

set maskRect(Rect value) {
  if (value != _maskRect) {
    _maskRect = value;
    markNeedsAddToScene();
  }
}