cancelRunningTransition method

void cancelRunningTransition()

Implementation

void cancelRunningTransition() {
  if (_propertyRunningTransition.isNotEmpty) {
    for (Animation animation in _propertyRunningTransition.values) {
      animation.cancel();
    }
    _propertyRunningTransition.clear();
  }
}