debugPaint method

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

Implementation

@override
void debugPaint(Context context) {
  context.canvas
    ..setFillColor(PdfColors.lime)
    ..moveTo(box!.x, box!.y)
    ..lineTo(box!.right, box!.y)
    ..lineTo(box!.right, box!.top)
    ..lineTo(box!.x, box!.top)
    ..moveTo(box!.x + padding.left, box!.y + padding.bottom)
    ..lineTo(box!.x + padding.left, box!.top - padding.top)
    ..lineTo(box!.right - padding.right, box!.top - padding.top)
    ..lineTo(box!.right - padding.right, box!.y + padding.bottom)
    ..fillPath();
}