Description
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:
- Flutter Provider Architecture for State Management | Flutter Provider
- Flutter Provider - A Follow up to my Architecture Guide
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.
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.