clipRect property

Rect? 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;
void clipRect=(Rect? value)

Implementation

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