debugPaint method Null safety

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

Implementation

@override
void debugPaint(Context context) {
  context.canvas
    ..setFillColor(PdfColors.pink)
    ..drawBox(box!)
    ..fillPath();
}