void clipRect(Rect rect)

Reduces the clip region to the intersection of the current clip and the given rectangle.

Source

void clipRect(Rect rect) {
  _clipRect(rect.left, rect.top, rect.right, rect.bottom);
}