name property

String? name
final

Property to provide name for the technical indicators.

Defaults to 'null'.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicator<Sample, num>>[
     StochasticIndicator<Sample, num>(
       name: 'indicators'
     ),
   ],
 );
}

Implementation

final String? name;