dispose method

  1. @override
void dispose()
override

Disposing all animations.

Implementation

@override
void dispose() {
  x.dispose();
  y.dispose();
}