drawBox method Null safety

void drawBox(
  1. PdfRect box
)

Draws a Rectangle

Implementation

void drawBox(PdfRect box) {
  drawRect(box.x, box.y, box.width, box.height);
}