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
These days I'm experimenting with Flutter and trying to find out an easily maintainable, straightforward, and readable architecture.
So I stumbled upon the architecture you are teaching for Provider (yes there are many successors now such as StackedProvider and RiverPod, but I want to learn from the beginning).
I followed two of your videos:
Flutter Provider Architecture for State Management | Flutter Provider
Most of the application works fine as shown on the video tutorial. But it doesn't appear to be that much reactive/responsive as it's shown on your Videos. Two main issues are:
After login, the posts fetching API call doesn't get called properly, needs to try for the second time.
Like counts don't get refreshed properly as shown on the tutorial.
Hey @randikachan Since this code was published over a year ago provider itself has gone through many updates so the code won't work exactly as it is. If you understand the architecture then stacked should work perfectly fine for you. It's the exact same code, just wrapped so you don't have to write and maintain 200 lines of code for basic setup functionality.
I won't be able to help you with this old code because I wouldn't recommend using it.
Hi Dane,
These days I'm experimenting with Flutter and trying to find out an easily maintainable, straightforward, and readable architecture.
So I stumbled upon the architecture you are teaching for Provider (yes there are many successors now such as StackedProvider and RiverPod, but I want to learn from the beginning).
I followed two of your videos:
Most of the application works fine as shown on the video tutorial. But it doesn't appear to be that much reactive/responsive as it's shown on your Videos. Two main issues are:
Herewith I have attached my source code as well. (Google Drive link to download the source code and the screencast)
I experimented and tried so many things to figure out what's wrong with it.
Could you please let me know what you think of the error in it?
P.S.:
I even downloaded the source code from your GitHub repository and tried it out still it too has the same issue.
The text was updated successfully, but these errors were encountered: