activeClip property
Rect
get
activeClip
Returns the current active clip rectangle, defaulting to full buffer bounds if stack is empty.
Implementation
Rect get activeClip =>
_clipStack.isEmpty ? Rect(0, 0, width, height) : _clipStack.last;