debugPaint method
Implementation
@override
void debugPaint(Context context) {
switch (direction) {
case Axis.horizontal:
context.canvas
..setFillColor(PdfColors.grey300)
..drawBox(box!)
..fillPath();
break;
case Axis.vertical:
context.canvas
..setFillColor(PdfColors.grey300)
..drawRect(box!.x, box!.y + crossAxisPosition, box!.width,
box!.height - crossAxisPosition)
..fillPath();
break;
}
}