dashArray property

List<double>? dashArray
final

Pattern of dashes and gaps used to stroke the trendline.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           series: <CartseianSeries<dynamic,dynamic>>[
             LineSeries<dynamic,String>(
               trendlines: <TrendLine>[
                 Trendline()
               ])
           ]
       ));
}

Implementation

final List<double>? dashArray;