repetitionCount property Null safety
Number of times to repeat the animation.
- 0 when the animation should be played once.
- -1 for infinity repetitions.
Implementation
int get repetitionCount => _cachedRepetitionCount ??= _repetitionCount;
Number of times to repeat the animation.
int get repetitionCount => _cachedRepetitionCount ??= _repetitionCount;