repeatCount method

AnimatedWidgetBuilder repeatCount(
  1. int count, {
  2. bool reverse = false,
})

Repeat animation specific number of times

Implementation

AnimatedWidgetBuilder repeatCount(int count, {bool reverse = false}) {
  return _copyWith(config: config.copyWith(
    repeat: count > 0,
    repeatCount: count,
    reverse: reverse,
  ));
}