Flutter Provider 5 changeNotifier Example | State Management

  Рет қаралды 23,966

Learn Flutter with Me

Learn Flutter with Me

Күн бұрын

An introduction to state management with the Provider package, specifically changeNotifier. This is a simplified example of how to pass data throughout your app using the changeNotifierProvider to "listeners" when data changes. Although there are multiple approaches to state management, Provider is the approach recommended by Flutter directly.
For more information on Provider:
pub.dev/packages/provider
My video on setState, another state management approach:
• Flutter setState Examp...
#flutter #learnflutter
Instagram:
learnflutterwithme
Stuff I use for this channel (Affiliate Links)
SanDisk 1TB SSD amzn.to/3j1U8py
Elgato Cam Link 4K amzn.to/37EyqBK
Logitech G600 Mouse amzn.to/36DYFYz
Logitech G Pro Keyboard amzn.to/3saco38
Macbook Pro M1 13" amzn.to/36GzbKc
Neewer Mic Arm amzn.to/3z7RvIm
Davinci Resolve amzn.to/3erEb9I
Adobe Photoshop Elements amzn.to/3BkPKth

Пікірлер: 64
@LearnFlutterwithMe
@LearnFlutterwithMe 3 жыл бұрын
For flutter 2.2 just add "required" like this: FruitButton({required this.fruit});
@mangkepweng3741
@mangkepweng3741 2 жыл бұрын
const FruitButton({Key? key, required this.fruit}) : super(key: key);
@j2atillano
@j2atillano 2 жыл бұрын
You have the easiest to understand explanations about Flutter state management. The way you explain connects to what the viewer thinks. I have been watching flutter tutorials for about 2 years and I'm really thankful that I have stumbled upon your channel. Of all the famous youtube flutter developer channels out there, I could say that you are the best. Talk about a very effective tutor/teacher, that's you Sir. Keep it going. We enjoy your tutorials.
@LearnFlutterwithMe
@LearnFlutterwithMe 2 жыл бұрын
Oh wow, thank you so much for the kind words, this made my day! I hope I continue to be able to continue to bring the same content for y'all! Thank you so much for the comment and watching!
@carlsmith358
@carlsmith358 Жыл бұрын
Thanks for this clear and concise example! It refreshed my knowledge of ChangeNotifierProviders, which helped me to solve a tricky bug.
@bhakinkhantarjeerawat8163
@bhakinkhantarjeerawat8163 3 жыл бұрын
The best for learning Provider in Flutter, I really like the speed, the clear voice, and his simplicity concept, thank you very much
@LearnFlutterwithMe
@LearnFlutterwithMe 3 жыл бұрын
thank you! glad it helped!
@mangkepweng3741
@mangkepweng3741 2 жыл бұрын
This is the cleanest and easiest to understand and follow through .... the best tutorial ever for changenotification
@LearnFlutterwithMe
@LearnFlutterwithMe 2 жыл бұрын
Thank you!
@ManontheOutside
@ManontheOutside Жыл бұрын
Nice simple explanation of the ChangeNotifier. Thanks for this. 👍
@dollxasida
@dollxasida 11 ай бұрын
The king of tutos.
@rifathossain2043
@rifathossain2043 2 жыл бұрын
when I see your content I feel flutter is so easy and simple. Thank you so much sir
@dollxasida
@dollxasida 11 ай бұрын
very clean! i can say the most understandable explanations i ever heard. thank you sir
@hammadizoubir6539
@hammadizoubir6539 Жыл бұрын
I've watched countless tutorials about flutter including udemy I can say with certainty that you have the best way to explain things, Thank you so much
@ALEXPERTOS.
@ALEXPERTOS. 4 ай бұрын
Great tutorial, Love your way of explaining things. Please keep going
@AliYar-Khan
@AliYar-Khan 3 жыл бұрын
Explained in the best possible way 👍🏻❤️
@vtvvnha2230
@vtvvnha2230 2 жыл бұрын
the best provider videos
@NuwanThisara
@NuwanThisara 10 ай бұрын
thank you for simplifying the implementation
@D3_Business_Analytics
@D3_Business_Analytics 3 жыл бұрын
This guy teaches flutter like a "KING"....I've been following Flutter since 2019 , done 20+ courses on UDEMY......But nothing comes closer to this channel content......I would love to purchase a course from this instructor ....
@LearnFlutterwithMe
@LearnFlutterwithMe 3 жыл бұрын
wow thank you so much! I'm so glad its helpful!
@D3_Business_Analytics
@D3_Business_Analytics 3 жыл бұрын
@@LearnFlutterwithMe An Image upload + Model class implementation would be a cherry on flutter cake.......
@LearnFlutterwithMe
@LearnFlutterwithMe 3 жыл бұрын
@@D3_Business_Analytics I'll add it to the list!
@edzelagulto6452
@edzelagulto6452 2 жыл бұрын
Thanks for the video. The explanation for the provider package is very clear and easy to understand! :)
@LearnFlutterwithMe
@LearnFlutterwithMe 2 жыл бұрын
Great I'm glad it worked for you! :)
@KaramaAlzaman
@KaramaAlzaman Жыл бұрын
Amazing bro! Nicely explained. Good one. 😊
@lahiruweliwitiya1
@lahiruweliwitiya1 2 жыл бұрын
Thanks for the easy example!
@ZaferBAHADIR
@ZaferBAHADIR 2 жыл бұрын
Thank you for the sample work.
@guillermodanielmercadodelu602
@guillermodanielmercadodelu602 Жыл бұрын
Literally all i needed
@philipkurian3114
@philipkurian3114 Жыл бұрын
Great video. thanks
@fkbey5756
@fkbey5756 2 жыл бұрын
thanks for the simple explanation. respect
@video-carl
@video-carl Жыл бұрын
thanks for this walkthru - it really helped. Yes, Flutter 2023 breaks some of the ancillary code but the ChangeNotifier/Provider remains the same.
@puffkitty007
@puffkitty007 2 жыл бұрын
Thank you! I had a hard time grasping what Provider does and your explanation made it easy to understand.
@LearnFlutterwithMe
@LearnFlutterwithMe 2 жыл бұрын
Yes! I'm glad it worked for you! Thank you for watching!
@synnotus
@synnotus 3 жыл бұрын
Thanks man, this channel demystifies flutter
@LearnFlutterwithMe
@LearnFlutterwithMe 3 жыл бұрын
Thank you!
@jugadorrajpal8978
@jugadorrajpal8978 2 жыл бұрын
nice & clean explanation
@UthpalaBandaradoor
@UthpalaBandaradoor Жыл бұрын
oh thank you! very informitive
@ngcheechuen8591
@ngcheechuen8591 2 жыл бұрын
Really good teaching skill and thank you very much on sharing your great knowledge. Easy to understand. I have learnt a lot and will keep learning from you Sir. Keep it up. Thank you.
@tegasteve8195
@tegasteve8195 2 жыл бұрын
Thank you so much for this video
@LearnFlutterwithMe
@LearnFlutterwithMe 2 жыл бұрын
Thank you for watching!
@jae7593
@jae7593 3 жыл бұрын
this channel easy for flutter learning for me thank you so much :)
@LearnFlutterwithMe
@LearnFlutterwithMe 3 жыл бұрын
yw I'm so glad!
@shimronalakkal523
@shimronalakkal523 2 жыл бұрын
This one helped a lot . Thanks
@LearnFlutterwithMe
@LearnFlutterwithMe 2 жыл бұрын
You're welcome! Thank you for watching!
@mycar8028
@mycar8028 2 жыл бұрын
Good!
@absar66
@absar66 2 жыл бұрын
Beatiful and understandable explanation in the video 👍👍👍 many thanks..
@LearnFlutterwithMe
@LearnFlutterwithMe 2 жыл бұрын
Thank you, and you're welcome!
@tawsan646
@tawsan646 3 жыл бұрын
Thank you Sir💕
@LearnFlutterwithMe
@LearnFlutterwithMe 3 жыл бұрын
Glad it helped!
@samorket8091
@samorket8091 3 жыл бұрын
You're doing a great job sir
@LearnFlutterwithMe
@LearnFlutterwithMe 3 жыл бұрын
Thank you so much!
@seetheworld3839
@seetheworld3839 2 жыл бұрын
Excellent bro, just impressed with ur confidence
@LearnFlutterwithMe
@LearnFlutterwithMe 2 жыл бұрын
Thank you!
@amikashkash
@amikashkash Жыл бұрын
תודה!
@mahsaabarghani
@mahsaabarghani Жыл бұрын
perfect
@rp2804
@rp2804 3 жыл бұрын
Thanks
@nalbur_
@nalbur_ 2 жыл бұрын
Great tutorial sir. Can you explain a bit listen:false method?
@adnanhaider9949
@adnanhaider9949 2 жыл бұрын
if i want to send data from one route to another so how i can do that through changeNotifier kindly guide me.thanks for simplifed explanation also
@miis_take155
@miis_take155 11 ай бұрын
hello sir.... is it good if i use provider and Getx both in one app
@ponchobob
@ponchobob Жыл бұрын
i'm relatively new to flutter. why does the update work without setState ? where does the magic happen ?
@tharindukavishna4718
@tharindukavishna4718 3 жыл бұрын
Explained the Flutter 2.2 and Firebase Topic
@LearnFlutterwithMe
@LearnFlutterwithMe 3 жыл бұрын
I'll see what I can do!
@faizulla5838
@faizulla5838 Жыл бұрын
Brooo, it's not Good looks.... where are CHOCOLATs ??? Aaaa?? Chocolat Iscreem? Chocolat button? Chocolat cake????
Flutter setState Example | Passing Data between Classes
10:38
Learn Flutter with Me
Рет қаралды 18 М.
Change Notifier Provider Explained
14:32
Learn App Code
Рет қаралды 20 М.
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 25 МЛН
ChangeNotifier Using Provider - State Management
15:36
Programming Point
Рет қаралды 1,6 М.
Provider State management - ChangeNotifier + Flutter
18:28
Flutter Explained
Рет қаралды 27 М.
Stateless vs Stateful | Flutter Example
6:45
Learn Flutter with Me
Рет қаралды 17 М.
Flutter State Management - The Grand Tour
14:07
Fireship
Рет қаралды 237 М.
Flutter Provider EASY Tutorial
9:43
Flutter Mapp
Рет қаралды 43 М.
7 Common Flutter Providers Explained
18:57
Learn App Code
Рет қаралды 18 М.
Dart/Flutter Enums Explained in 5 Minutes!
4:52
Learn Flutter with Me
Рет қаралды 3,8 М.