DEV Community

Discussion on: How to rebuild a ListView on Flutter using Provider async?

Collapse
nikolayshtanko profile image
nikolayshtanko • Edited

Hi!, David! I'm sorry for being late :)

You should add wrapper with class "ChangeNotifierProvider" in your widget's tree.
According to this example: flutter.dev/docs/development/data-...

Your should get something like this, I think (in attach image)
dev-to-uploads.s3.amazonaws.com/up...