dashArray property Null safety

List<double> dashArray
final

Property to provide dash array for the technical indicators.

Defaults to <double>[0, 0].

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicators<Sample, num>>[
     StochasticIndicator<Sample, num>(
       dashArray: <double>[2, 3]
     ),
   ],
 );
}

Implementation

final List<double> dashArray;