animationDelay property Null safety

double? animationDelay

Delay duration of the series animation.It takes a millisecond value as input. By default, the series will get animated for the specified duration. If animationDelay is specified, then the series will begin to animate after the specified duration.

Defaults to 0 for all the series except ErrorBarSeries. The default value for the ErrorBarSeries is 1500.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           series: <BarSeries<SalesData, num>>[
               BarSeries<SalesData, num>(
                   animationDelay: 300,


final double? animationDelay;