opacity property

double opacity
final

Opacity of the trendline.

Defaults to 1.

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

Implementation

final double opacity;