macdLineWidth property Null safety

double macdLineWidth
final

Macd line width of the macd indicator.

Defaults to 2.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicators<Sample, num>>[
     MacdIndicator<Sample, num>(
       seriesName: 'Series1',
       macdLineWidth: 3
     ),
   ],
   series: <ChartSeries<Sample, num>>[
     HiloOpenCloseSeries<Sample, num>(
       name: 'Series1'
     )
   ]
 );
}

Implementation

final double macdLineWidth;