requiredVerticalBaseOffset property
Half the rotated label width plus the rotated label height in pixels while the x axis draws labels, otherwise 10 dp. A label is drawn half its width beyond the web, so above and below that is half a width plus its height.
Implementation
@protected
@override
double get requiredVerticalBaseOffset =>
xAxis.isEnabled && xAxis.isDrawLabelsEnabled
? xAxis.labelRotatedWidth / 2 + xAxis.labelRotatedHeight
: Utils.convertDpToPixel(10);