animationDuration property
Duration of the series animation. It takes millisecond value as input.
Defaults to 1500
.
Widget build(BuildContext context) {
return SfCartesianChart(
series: <LineSeries<SalesData, String>>[
LineSeries<SalesData, String>(
animationDuration: 1000,
),
],
);
}
Implementation
final double animationDuration;