debugPaint method

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

Implementation

@override
void debugPaint(Context context) {
  context.canvas
    ..setStrokeColor(PdfColors.blue)
    ..setLineWidth(1)
    ..drawRect(
      box!.x,
      box!.y,
      box!.width == double.infinity ? 1000 : box!.width,
      box!.height == double.infinity ? 1000 : box!.height,
    )
    ..strokePath();
}