paint method
Draw itself and its children, according to the calculated
box.offset
Implementation
@override
void paint(Context context) {
super.paint(context);
switch (direction) {
case Axis.horizontal:
_drawXValues(context);
break;
case Axis.vertical:
_drawYValues(context);
break;
}
}