Update animation.dart

#15
Merge pull request #17 from analogic/patch-2

Update animation.dart