getAxisMajorTickColor method Null safety

  1. @override
Color? getAxisMajorTickColor(
  1. ChartAxis axis,
  2. int majorTickIndex
)

To get axis line width

Implementation

@override
Color? getAxisMajorTickColor(ChartAxis axis, int majorTickIndex) =>
    axis.majorTickLines.color;