animationDuration property Null safety

double animationDuration
final

Animation duration for the technical indicators.

Defaults to 1500.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicators<Sample, num>>[
     StochasticIndicator<Sample, num>(
       animationDuration: 1000
     ),
   ],
 );
}

Implementation

final double animationDuration;