width property

double width
final

Width of trendlines.

Defaults to 2.

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

Implementation

final double width;