check if animation complete in 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
}
});