dashArray property Null safety

List<double> dashArray
final

Property to provide DashArray for the technical indicators.

Defaults to <double>[0, 0].

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           indicators: <TechnicalIndicators<dynamic, dynamic>>[
           SmaIndicator<dynamic, dynamic>(
               dashArray : <double>[3,3],
             ),
           ],
       ));
}

Implementation

final List<double> dashArray;