overlayRect property

Rect overlayRect

The rectangle in this layer's coordinate system that the overlay should occupy.

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

Implementation

Rect get overlayRect => _overlayRect;
void overlayRect=(Rect value)

Implementation

set overlayRect(Rect value) {
  if (value != _overlayRect) {
    _overlayRect = value;
    markNeedsAddToScene();
  }
}