axisLine property Null safety

AxisLine axisLine
final

Customizes the appearance of the axis line. The axis line is visible by default.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(axisLine: AxisLine(width: 10)),
       ));
}

Implementation

final AxisLine axisLine;