debugPaint method

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

Implementation

@override
void debugPaint(Context context) {
  final rx = box!.width / 2.0;
  final ry = box!.height / 2.0;

  context.canvas
    ..setStrokeColor(PdfColors.deepPurple)
    ..setLineWidth(1)
    ..drawEllipse(box!.x + rx, box!.y + ry, rx, ry)
    ..strokePath();
}