clipRect method

void clipRect(
  1. Rect rect, {
  2. ClipOp clipOp = ClipOp.intersect,
  3. bool doAntiAlias = true,
})

Directly calls Canvas.clipRect

Implementation

void clipRect(
  Rect rect, {
  ClipOp clipOp = ClipOp.intersect,
  bool doAntiAlias = true,
}) =>
    canvas.clipRect(rect, clipOp: clipOp, doAntiAlias: doAntiAlias);