getAxisMinorTickColor method Null safety

  1. @override
Color? getAxisMinorTickColor(
  1. ChartAxis axis,
  2. int majorTickIndex,
  3. int minorTickIndex
)

To get major tick color

Implementation

@override
Color? getAxisMinorTickColor(
        ChartAxis axis, int majorTickIndex, int minorTickIndex) =>
    axis.minorTickLines.color;