Flutter Provider Simply Explained
Вставка
- Опубліковано 22 лип 2024
- Hopefully a 5 year old would understand the Flutter Provider. Yikes
👉 Sign up for the newsletter to get Flutter latest updates:
learnfluttercode.com/newsletter
🔥 Check out my courses -
🎨 Source code:
pub.dev/packages/provider
⏰ Timeline:
00:00 - Introduction
00:26 - What is a provider
02:28 - How do we create a provider
04:22 - How data flows through a provider
05:44 - Can other widgets listen to the same provider?
07:21 - Challenge
🦋 Hear my thoughts on Twitter -
/ thehappyharis
🤓 See daily learnings on LinkedIn -
/ haris-samingan-7889b9140 - Розваги
The most didactic and graphic videos I´ve ever seen. You sure know how to help people understand, you really are an outstanding teacher. Cheers from Argentina!
Shoutout to the devs that need concepts to be explained to them in kid terms.
thank you
Thanks
Arrigato
amen
This is the best tutorial I've ever seen. You are an adept tutor. Bravo Harris, bravo!
Glad it was helpful!
Waiting for the future, proxy and stream provider explanations, combine with implementation with firebase too 🔥
Noted
yes please. one more to the vote.
I usually dont comment on UA-cam tutorials, but Man, yours was so easy to follow and so joyful that I just had to. I hope you keep up the good work and high quality explanation videos because they are awesome! Cheers from Brazil
It's the best provider explanation on the internet by far. I wish all teachers were like you
What an awesome video! So calm and easy to understand. I was confused by Provider but now I'm getting the hang of it. Thank you.
Awesome explanation. Classic example of "If you can't explain it simply you don't understand it well enough". Thank you
OMG thank you 3000 times this saves my life I've been so exhausted in class because I didn't get the provider concept so following lessons made me confused too, this maybe a hit to get things aligned
Nice, I really recommend this for those who come from any non JAVA background, especially JS. This is a very good place to bring into perspective how important it would be to come with a backing of Inheritance, Composition and Generics. And then you would really admire Flutters ability of weaving these hard core programming concepts into a simple package. Great example!
I like this guy's vibe and the analogy, he earned my subscription!
Bro.... Thanks so much. I've watched all these videos where they make provider look like some untamable monster. And no matter how many times I memorized and wrote the code in different styles, I still couldn't figure out what the heck was going on. But now I do and it's so simple!🔥🔥🔥🔥🔥
Best provider tutorial ive seen so far. Kudos for you man
I was searching and reading for multiple sites and video to understand the provider concepts but i was not 100% clear to understand the concepts. This video is amazing and nicely explained the concepts with graphic animated story, i could digest the concepts very easily. Subscribed to your channel and going to see your other videos. Thanks
Dear Sir, you save my day! Crystal clear explanation with fish and river indeed :). Thank you so much and waiting for more tutorials.
this is very useful and nobody ever explained me like this. this lesson is very clear to me. hopefully 5-year-old kid may understand this even though he does not know what flutter is 😅
The best yet simple explanation for Provider package. Keep it up Haris🔥😎
Best provider video on youtube.You are such a great teacher
Thank you, it helped a lot, you make things very simple to understand.
Nice video. When the home and settings widget want to get the data from the provider, do they get a copy of the data or a references to the data? If they get a copy, isn't that expensive? Thanks.
This is so amazing video till I watched... I was go through with multiple videos but never watched like this explanation..
OMG! thanks
this helped me a lot cause I have going through so many materials but just couldn't understand what was going on
Excellent explanation, now I love provider, fishes and your channel.
Great and nice explanation, really easy to understand, especially for the position of the widgets in the tree!!!
very well explained, I am working on firebase but I have doubt about provider.. thanks for such a wonderful explanation.
Great work man 👍! Love the way you explain this, hope for more.
You should make a full course for Flutter!
Cheers from Egypt =)
Thanks, will do!
Beautifully explained! Thank you so much!!
Best video about provider! Thank you so much
What if I store the object/fish in a specific place eg. constants.dart, and access it by importing when needed? Can I do this instead of using Provider?
Thanks for this great explanation! I learned a lot!
What an amazing analogy... Awesome tutorial. Thanks
Which software do you use for animations?
"Widget only flows downwards". You mean in the first example @ 7:00 , i cannot access user data from 's object ?
awesome work! and humorously done at the same time :) great work!
Thanks for the best explanation. I was having difficulty to understand the concept.
Because it was silly .. it was a perfect! We need a river pod video now.😩
Amazing explanation! Thanks a lot!
hi. do you plan on release riverpod course in udemy?
Hey.. Provider working good in debug mode but not working in release mode.
(future Builder, then Consumer)
I wrap the switch inside the consumer
Nicely explained, thanks!
It is really beneficial video, thank you for
embodying it with fishing :)
Great explanation; Thank you for your time
Thanks bro! U r amazing! Keep doing what you do!
after More then 7 time try, now i understand thanks
Thank you so much man, this was so easy to grasp
Simple and Awesome! Thank you so much!
Oh my god, finally a tutorial for my cognitive abilities. Thank you ❤
These are really great for dummies explanations with pictures haha. Good stuff!
Man you deserve a subscribe, thank you!
Is it like declaring a variable that has scope to all the children in the widget tree?
wowww maannn....great explanation....thanks alot!!!😍😍🙏😍🙏🙏
Amazing concepts thanks alot
I second all of the comments that call you a great teacher. You are probably the best I've ever seen on UA-cam. Keep making vids brother.
Wow, thanks!
Very well explained!
Can you do a video on ChangeNotifier ?
beautifully explained. i like the way you said little fishy.
Very nice explained in this way. Thanks
Brother I want to filter firestore data which I am getting through future builder .... Please 🥺 help me
I can pay you for that...
best explanation, Thanks,
This video is so good and useful, nice job man.
Glad it was helpful!
For me this is not the best analogy because after fish has copied into two 6:16 we have two independent fishes. Because of that, if we change color of the settings fish, home fish stays the same red color. That is not correct.
I prefer to visualize it as a context with inversed terrain heights in your picture example (Home, Settings at the top of the mountain and fish object at the bottom), watchman with binoculars is a provider.of(context). Watchman can look at any object 24/7 in surroundings below but not above. In that case we can have a lot of watchmen located at different heights in the mountain looking at the same fish below. If fish changes it's property, color for example, all watchmen outposts get notified instantly and handle it according their own script.
That is hight-quality educational content. Thanks
Wowwwwwwww I really love it. Amazing .. keep it up
Love u flutter teacher sensei ustad guru 😍😘👨💻👨🏫
which state management will you recommend? i feel flutter_bloc requires to write bloaty codes, and end up lost focus aka take too long time.. is there a better choice?
GetX
ua-cam.com/video/J2iFYZUabVM/v-deo.html - RiverPod, of course.
Thanks for the video
Thank you ,Very useful
Glad it was helpful!
Just the explanation I needed
😁
Nice explanation
Love ur conten pls create more on ur ig
But from where do you get the actual data?
Please explain build context method.. It is mind bogling
Thank you!
Hello, Sir, I'm 5 years old I got it ... but how and where I will learn the rest of Flutter please make more videos like that.
Amazing!
Awesome Explanation!!!:)
Glad you liked it!
I don't get why we are using routes instead of a scaffold
Amazing! Great video
Thank you! Cheers!
How do you pass data from child widget to parent widget, considering the fact that context flows downwards? Is there an alternative? Or isn't it not possible at all?
You can use a function call back. Or you can use a change notifier that lives at the top of the parent widget
@@LearnFlutterCode Could you make a video demonstrating the same?
You are great!
Thanks, man.
thank you!
best tutorial ever
Awesome!!!!!
Wow this is awesome!
Thank you! Cheers!
It was just awesome
Perfect!
Hahah so cute! Thank you!
good visual explanation ..
Glad it was helpful!
This video is so cool 😎
I get it now!
❤️
you got 1 more subscriber .. Keep posting flutter videos
Thank you, I will
The perfect Provider tutorial doesn't ex...
wait! it is this video.
The perfect comment doesn't ex...
wait! it is this comment.
nice explenation
Why was that fish so fishy ? 😂
Well,
Simple, neat and clean explanation keep doing the good work !
I love fish! Thanks for watching.
awesome
Awsome
In which tool you can make this kind of videos?
slides.com
@@LearnFlutterCode thanks
combine provider with getit and rename the fish to Shark singleton :P