dashArray property Null safety

List<double>? dashArray
final

Dashes of the waterfall chart connector line.

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

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          dataLabelSettings: DataLabelSettings(
           connectorLineSettings: ConnectorLineSettings(
            dashArray: [1, 2],
          )
         )
       ));
}

Implementation

final List<double>? dashArray;