RepeatedEffectController constructor
RepeatedEffectController(
- EffectController child,
- int repeatCount
Implementation
RepeatedEffectController(EffectController child, this.repeatCount)
: assert(repeatCount > 0, 'repeatCount must be positive'),
assert(!child.isInfinite, 'child cannot be infinite'),
_child = child,
_remainingCount = repeatCount,
super.empty();