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!.left,
box!.bottom + crossAxisPosition,
box!.width,
box!.height - crossAxisPosition,
)
..fillPath();
break;
}
}