primaryYAxis property Null safety

ChartAxis primaryYAxis
final

Customizes the primary y-axis in chart.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           primaryYAxis: NumericAxis(isinversed: false)
       ));
}

Implementation

final ChartAxis primaryYAxis;