createAxisLineStyle method
Creates LineStyleSpec for axis line from spec.
Fill missing value(s) with default.
Implementation
@override
LineStyle createAxisLineStyle(
GraphicsFactory graphicsFactory,
LineStyleSpec? spec,
) =>
graphicsFactory.createLinePaint()
..color = spec?.color ?? MaterialPalette.gray.shadeDefault
..dashPattern = spec?.dashPattern
..strokeWidth = spec?.thickness ?? 1;