Skip to content

Provider Tutorial example isn't responsive as it's shown on the tutorial (010 and 012) itself  #131

Open
@randikachan

Description

@randikachan

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:

  • 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.

ezgif-4-aedaa3549a8b

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions