clipRect property

Rect? get clipRect

The rectangle to clip in the parent's coordinate system.

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

Implementation

Rect? get clipRect => _clipRect;
set clipRect (Rect? value)

Implementation

set clipRect(Rect? value) {
  if (value != _clipRect) {
    _clipRect = value;
    markNeedsAddToScene();
  }
}