animationDelay property
Delay duration of the technical indicator's animation. It takes a millisecond value as input. By default, the technical indicator will get animated for the specified duration. If animationDelay is specified, then the technical indicator will begin to animate after the specified duration.
Defaults to 0
.
Widget build(BuildContext context) {
return SfCartesianChart(
indicators: <TechnicalIndicators<Sample, num>>[
StochasticIndicator<Sample, num>(
animationDelay: 500
),
],
);
}
Implementation
final double? animationDelay;