seriesName property Null safety

String? seriesName
final

Property to link indicators to a series based on names.

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

Implementation

final String? seriesName;