animationDuration property

double animationDuration
final

Determines the animation time of trendline.

Defaults to 1500 .

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

Implementation

final double animationDuration;