Flutter State Management - Using Provider to read JSON data

preview_player
Показать описание
In this video we us the provider package to do state management for an app that reads data from an online JSON file.

You can find my Dart playlist here:
Рекомендации по теме
Комментарии
Автор

no one explains the way this guy does, , all the other videos are just hurried 💗

zribiali
Автор

I can't find any other channels explaining the way you do. This is premium content right here.

After watching all of your Dart basics and flutter videos, right now, When you were coding i already knew what to write before you even wrote it!
Thank you !!

xpwahab
Автор

I've watched a dozen Flutter provider videos and none come close to your understandable and concise presentation. You have a gift to teach. Thank you fellow South African.

ronholloway
Автор

Hands down the best implementation...at first i was afraid of the 50mins video but it was worth the time

akshatagarwal
Автор

You are a born Lecturer! Highly recommended

techwithjesus
Автор

The best tutorial ever on this important topic. Thank you for sharing ! It spares me of a lot of trouble that I had dealing with stateful widgets (a nightmare for me).

Machiuka
Автор

Awesome sound and tutorial quality. Subbed.... Also, thank you very much for not using any music in your videos.

saleheen
Автор

Hi Johan, I was looking for a tutorial on BLOC state management on YouTube, but it was disappointing because no one has the same pace and teaching quality as you. If you could do a series on it, that would be really appreciated.

zorab
Автор

really nice course and amazing work, thanx johan ❤️

mohammedhasan
Автор

Awesome video. Could you explain how can we get realtime update on UI based on changes in server using stream builder in this provider code?

tarikulislamtuhin
Автор

Nice video man👍
Actually I learnt Provider from your videos. Amazing!

jayt
Автор

It is correct to call fetchData in the build method? As far as I know build method can be called multiple times from the framework and I don't want to fetch data more times than I need. Very clearly explaination by the way, thanks for this video!

thepaulbig
Автор

Fantastic. Thank you for this eye opener. PS is the source available on github?

wyn_owen
Автор

can I know why you placed this file inside a model folder but not in the network service folder, Usually I put my models with from JSON to dart converters and place them on the models and then when I want to fetch the data and map it to my model I create a folder in-network service and code the fetchdata method
am I doing it wrong?

nott__aceu
Автор

thank you so much.. please make more flutter tutorial.

rendiarya
Автор

Provider syntax is a little ‘opaque’ to me:
- create: (context) => NewData() must mean instantiate an anonymous object (function?) from class NewData
- value (in Consumer builder) then seems to refer to that anonymous object.
Sound right ... if not what am I missing?

jimaustin
Автор

Great video, your way of explaining is very good, it'll really help me. Could you share the source code of this example, please?

fabriciofabricio
Автор

What if we have lot of screen and lot of provider classes
How do we release the object holding memory from a provider class sir ?

Автор

Can we please have the code uploaded in github or some other place? Cause, sometimes, all we need is to go through the code and not the entire video.

saleheen
Автор

Hi! Nice video. But in real api call some sites require cookies, headers and some cookies with expiry time. How can we save cookies and send with api call also how to deal with cookies that expires and needs to be updated with api call after some time.

pravinpund
join shbcf.ru