clipRect property
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;
Implementation
set clipRect(Rect? value) {
if (value != _clipRect) {
_clipRect = value;
markNeedsAddToScene();
}
}