width property Null safety

double width
final

Width of the axis line.

Defaults to 1.

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

Implementation

final double width;