dashArray property

List<double>? dashArray
final

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

Defaults to [0,0].

Widget build(BuildContext context) {
    return Container(
        child: SfCartesianChart(
            primaryXAxis: NumericAxis(
            minorTicksPerInterval: 5,
            minorGridLines: MinorGridLines(
            dashArray: <double>[10, 20],
          )
         )
        )
     );
}

Implementation

final List<double>? dashArray;