drawRect method Null safety

void drawRect(
  1. double x,
  2. double y,
  3. double w,
  4. double h
)

Draws a Rectangle

Implementation

void drawRect(
  double x,
  double y,
  double w,
  double h,
) {
  PdfNumList([x, y, w, h]).output(_buf);
  _buf.putString(' re\n');
}