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

AnimationController.forward() called after AnimationController.dispose() #145

Open
mrcnee93 opened this issue Dec 7, 2024 · 0 comments
Open

Comments

@mrcnee93
Copy link

mrcnee93 commented Dec 7, 2024

hi

I'm enjoying the package primarily because i'm not that familiar with animations in flutter and this package make it easy to implement.

i'm getting this error everytime i switch from one view to another while a delay of some sort is on (for example with animatedList with intervals or a big delay)

it was my understanding that the package had its own controller so i didnt thought about disposing it or anything else

here a simple section that triggers the error, increasing the interval make it easy to trigger while testing

Expanded(
            child: SingleChildScrollView(
              child: Column(
                mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                children: homeButtons
                    .toList()
                    .animate(interval: 50.ms)
                    .fade(duration: 300.ms),
              ),
            ),
          ),

thank you for your time

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

1 participant