animation.addStatusListener((status) { if (status == AnimationStatus.completed) { // do your logic } });