xAxisName property Null safety

String? xAxisName
final

Property to map the technical indicators with the axes.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           indicators: <TechnicalIndicators<dynamic, dynamic>>[
           SmaIndicator<dynamic, dynamic>(
               xAxisName : 'bird',
             ),
           ],
       ));
}

Implementation

final String? xAxisName;