animationDuration property Null safety

double animationDuration
final

Animation duration for the technical indicators.

Defaults to 1500.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           indicators: <TechnicalIndicators<dynamic, dynamic>>[
           SmaIndicator<dynamic, dynamic>(
               animationDuration : 0,
             ),
          ],
       ));
}

Implementation

final double animationDuration;