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

Exception error after dispose (setstate) #3

Open
JTibblesSoftcon opened this issue Jan 24, 2023 · 0 comments
Open

Exception error after dispose (setstate) #3

JTibblesSoftcon opened this issue Jan 24, 2023 · 0 comments

Comments

@JTibblesSoftcon
Copy link

I use the fader widget to fade text slides in and out - however if the user changes their language (via a provider/notifier) the widget needs to be redrawn with the new language. This causes an issue with the fader being replaced:
"Another exception was thrown: setState() called after dispose(): _FaderState#72c2f(lifecycle state: defunct, not mounted)"

I think this could be fixed if the plugin included a "if (mounted)" check around the setState request.

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