debugPaint method Null safety

  1. @protected
void debugPaint(
  1. Context context
)

Implementation

@protected
void debugPaint(Context context) {
  context.canvas
    ..setStrokeColor(PdfColors.purple)
    ..setLineWidth(1)
    ..drawBox(box!)
    ..strokePath();
}