animationDuration property Null safety

double animationDuration
final

Duration for animating the data points.

Defaults to 1500.

Widget build(BuildContext context) {
   return Container(
       child: SfCircularChart(
           series: <PieSeries<ChartData, String>>[
               PieSeries<ChartData, String>(
                 animationDuration: 3000;
               ),
           ],
       )
   );
}

Implementation

@override
final double animationDuration;