color property

Color? color
final

Colors of the major tick lines.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           primaryXAxis: NumericAxis(
                majorTickLines: MajorTickLines(
                  color: Colors.black
                )
               ),
       ));
}

Implementation

final Color? color;