loop method
Implementation
TickerFuture loop({
int? count,
bool reverse = false,
double? min,
double? max,
Duration? period,
}) {
assert(count == null || count >= 0);
assert(period != null || duration != null);
min ??= lowerBound;
max ??= upperBound;
period ??= duration;
if (count == 0) return animateTo(min, duration: Duration.zero);
return repeat(
min: min,
max: max,
reverse: reverse,
period: period,
count: count,
);
}