You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I wanted to use this package one week ago but I couldn't because setState doesn't work and reading the package's issues, you wrote that you couldn't find the problem.
I was doing my own package and faced the same problem. I fixed it by moving the initState logic to build method. The problem is when you use setState in parent, child isn't created again and initState isn't called. If you move that crucial logic to build (or maybe another better place), it will work.
The text was updated successfully, but these errors were encountered:
Hi, I wanted to use this package one week ago but I couldn't because setState doesn't work and reading the package's issues, you wrote that you couldn't find the problem.
I was doing my own package and faced the same problem. I fixed it by moving the initState logic to build method. The problem is when you use setState in parent, child isn't created again and initState isn't called. If you move that crucial logic to build (or maybe another better place), it will work.
The text was updated successfully, but these errors were encountered: