dashArray property

List<double> dashArray
final

Dashes of the series. Any number of values can be provided in the list. Odd value is considered as rendering size and even value is considered as gap.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(
            plotBands: <PlotBand>[
               PlotBand(
                   isVisible:true,
                   dashArray: <double>[10, 10]
               )
             ]
          )
       ));
}

Implementation

final List<double> dashArray;