Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set animation status? #1

Open
recepbuyukfirat opened this issue Sep 10, 2018 · 1 comment
Open

How to set animation status? #1

recepbuyukfirat opened this issue Sep 10, 2018 · 1 comment

Comments

@recepbuyukfirat
Copy link

hi, thx for this shared. i want make change this programming. how to add to this fonction this code addStatuListener ?

@josancamon19
Copy link
Owner

Hi, sorry for the late reply, you can add something like that:

animationController = AnimationController(vsync: this, duration: Duration(seconds: 5));
animationController.addStatusListener((status){
      if(status == AnimationStatus.completed){}
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants