check if animation is completed flutter code example
Example: check if animation complete in flutter
animation.addStatusListener((status) {
if (status == AnimationStatus.completed) {
// do your logic
}
});
animation.addStatusListener((status) {
if (status == AnimationStatus.completed) {
// do your logic
}
});