cancelRunningAnimation method

void cancelRunningAnimation()
inherited

Implementation

void cancelRunningAnimation() {
  if (_runningAnimation.isNotEmpty) {
    List<Animation> animations = _runningAnimation.values.toList();
    animations.forEach((animation) {
      animation.cancel();
    });
    _runningAnimation.clear();
  }
}