removeAnimation method

void removeAnimation(
  1. Animation animation
)

Удаление анимации

Implementation

void removeAnimation(Animation animation) {
  layer.animations.remove(animation);
  if (_selectedAnim == animation) {
    _selectedAnim = null;
  }
  notifyListeners();
}