Chapter 5 - Provider - Flutter State Management Course 💙

  Рет қаралды 19,821

Vandad Nahavandipoor

Vandad Nahavandipoor

Күн бұрын

Part of Flutter State Management playlist: • Flutter State Manageme...
Provider is a 3rd party package available from pub.dev. This package allows you to create providers of type ChangeNotifier and ValueNotifier for instance, and send them down the BuildContext path for consumers to use. One of the beautifies of the Provider package is its ability to re-draw a widget by simply using .watch() or .select() in the build() method of your widget!
Provider will greatly simplify your state management in your Flutter applications.
🐦 Twitter: / vandadnp
🔵 LinkedIn: / vandadnp
🤝 Want to support my work? buymeacoffee.com/vandad

Пікірлер: 64
@zaidrj7374
@zaidrj7374 8 ай бұрын
Man I'm trying to believe that this content is Free !!!! Thank you so much.
@philosophia5577
@philosophia5577 4 ай бұрын
Thank you so much Vandad for such a great course, revisiting it for the second time!
@whatever6223
@whatever6223 Жыл бұрын
Thank you very much for dedicating your time to go in so much depth. This is an excellent tutorial!
@justadev7957
@justadev7957 Жыл бұрын
Bro... I'm amazed by the effert you put into your tutorial. You show much more then "how to use something", you actually explain the way and the why something is built so. Again, I am amazed by the quality of these tutorials.... Thanks a lot mate.
@nargessadeghi3915
@nargessadeghi3915 Жыл бұрын
Thank you so much! you are a great teacher!
@adamograph7949
@adamograph7949 9 ай бұрын
I'm from Ivory Coast (Côte d'ivoire ) , Thank you so much! your videos are very helpful
@osrbrothers7510
@osrbrothers7510 11 ай бұрын
I really like your work, Guruji (teacher)🙏
@philiposdrontzas3725
@philiposdrontzas3725 2 жыл бұрын
Nice video! I would recommend adding timestamps and maybe the source code for easier lookups.
@ITEngineer902
@ITEngineer902 Жыл бұрын
Big love to your hard work!❤❤
@VandadNP
@VandadNP Жыл бұрын
Thank you so much 😀
@ahmednafiunoman5040
@ahmednafiunoman5040 Жыл бұрын
U are a flutter shaolin master . Subscribed.
@armandcharbonnier2702
@armandcharbonnier2702 2 жыл бұрын
I'm watching your playlist, one by one, getting some knowledge about Flutter and i can say, your video are really great. Quality content, and especially, usefull explaination on every aspect that need attention. I like your mindset about knowing what you do instead of copy / paste code. Keep it up, and thank for the free content.
@VandadNP
@VandadNP Жыл бұрын
I'm glad to hear that we think alike. Explaining some aspects of the code sometimes are tiresome but necessary. Thank you
@mohabmagdy4155
@mohabmagdy4155 2 жыл бұрын
Thanks a lot Vandad for your awesome explanation 😍
@VandadNP
@VandadNP Жыл бұрын
My pleasure 😊
@hamzashehzad7273
@hamzashehzad7273 Жыл бұрын
Realy great work
@i198622
@i198622 Жыл бұрын
Thank you Vandad!
@VandadNP
@VandadNP Жыл бұрын
My pleasure
@souravsuman636
@souravsuman636 2 жыл бұрын
Thank you 💙
@TechnoDB
@TechnoDB 2 жыл бұрын
Good job Sir 💙
@codegambit2507
@codegambit2507 2 жыл бұрын
I wish I could like this more than once
@VandadNP
@VandadNP Жыл бұрын
Haha thank you
@alaaeddine3092
@alaaeddine3092 11 ай бұрын
Thank you so much sir it's plusiers !
@skyturkish9230
@skyturkish9230 Жыл бұрын
what a a video full of information.
@VandadNP
@VandadNP Жыл бұрын
Glad you liked it 😊
@dhrubrawat9316
@dhrubrawat9316 2 жыл бұрын
Thank you.
@VandadNP
@VandadNP Жыл бұрын
You're most welcome
@denny61302
@denny61302 2 жыл бұрын
Looking forward to the new chapters about riverpod or BLOC.
@VandadNP
@VandadNP Жыл бұрын
Both Bloc and Riverpod chapters are out now
@brkakcn8481
@brkakcn8481 2 жыл бұрын
thanks this video usefull for me
@nullcodeer
@nullcodeer 2 жыл бұрын
Thanks sir
@prgrmlearning2845
@prgrmlearning2845 Жыл бұрын
thanks
@ravshan349
@ravshan349 2 жыл бұрын
Thanks
@VandadNP
@VandadNP Жыл бұрын
No problem
@ilyeskesri6524
@ilyeskesri6524 Жыл бұрын
Can someone help me to understand where we used the overided equality operator?
@_Gianluca
@_Gianluca 2 жыл бұрын
Thanks for all your videos! On flutter documentation, the official team refers to provider as "A recommended approach." In your career, what is the state management approach that you use mostly? Or maybe the top 3 that you recommend to know. Do I should learn every one? Thank you very much!!!
@VandadNP
@VandadNP Жыл бұрын
I usually use a combination of RxDart, Riverpod, Bloc and MobX 😊
@TheTaraspol
@TheTaraspol 2 жыл бұрын
@Vandad, thanks for your course! Could you please elaborate the fact you mentioned on 50:50, using Provider outside of the build function? As far as I know Provider is strongly tied to context, so we can't use it outside of the build? Or?
@nishanttyagi2386
@nishanttyagi2386 2 жыл бұрын
As far as I understood. We can use it outside the build function but we need to pass context to that function in which we want to use it.
@mobileboy712
@mobileboy712 2 жыл бұрын
you can use it but you should pass a context after all watch read and select are just extensions of the context
@brentc4384
@brentc4384 Жыл бұрын
I'm so glad I didn't skip the last 15 minutes because that's exactly what I needed to hear. I was wondering what if I have a bunch of state in different "domains" of my application such as, user authentication, different types of loaded data, ... I don't want that in some kind of super nested "global provider" and I also don't want to have a huge tree of ChangeNotifierProvider. MultiProvider to the rescue!
@VandadNP
@VandadNP Жыл бұрын
Glad that you didn't skip the last part. Good to hear your experience
@philosophia5577
@philosophia5577 5 ай бұрын
18 minutes in, Amazing video, One suggestion I would like to give is please don't write everything in one single fine, it gets messy and as you switch pretty fast, It gets confusing as the lines of code crosses 200. All classes, widgets and pages should be implemented and kept outside main.dart
@maazafridi2090
@maazafridi2090 Жыл бұрын
can we start this without watching other videos of this playlist. ?
@VandadNP
@VandadNP Жыл бұрын
Yes if not otherwise stated during the intro 😊
@mittcooper8693
@mittcooper8693 Жыл бұрын
Awesome videos, is the source available?🙏
@faezansar5417
@faezansar5417 7 ай бұрын
thanks so much anyone has the code for this?
@samuelkings9416
@samuelkings9416 Жыл бұрын
Thanks Vandad for this course. How did you change item to items globally just at one click in 58:53?
@arunk2710
@arunk2710 Жыл бұрын
How I do this is right click and select rename symbol, and then rename it. Or just press F2 to rename.
@hamzashehzad7273
@hamzashehzad7273 Жыл бұрын
Sir plz make a e-commerce type app by using provider
@calpal101
@calpal101 Жыл бұрын
1:15:00 2nd example
@abhishekc3556
@abhishekc3556 2 жыл бұрын
Sir how should i follow your playlists? Should i watch the complete flutter series first and then proceed to dart and state management?? Are there any prerequisites for your flutter series??
@krishnakumarramachandran5888
@krishnakumarramachandran5888 2 жыл бұрын
If you don't know flutter basics then first watch flutter course then watch state management course
@abhishekc3556
@abhishekc3556 2 жыл бұрын
@@krishnakumarramachandran5888 thanks brother
@krishnakumarramachandran5888
@krishnakumarramachandran5888 2 жыл бұрын
@@abhishekc3556 You are welcome
@gauravswarankar2557
@gauravswarankar2557 Жыл бұрын
why don't you make a series on flutter fire and include all the firebase products from login to RemoteConfig, TestLab. i hope this will help a lot of users
@zainsmj843
@zainsmj843 2 жыл бұрын
what in your opinion is best among getx bloc and provider? and why? plz reply or provide any useful link on this debate.
@madscientist8489
@madscientist8489 2 жыл бұрын
Forget getx, it's a bloated piece of garbage. Learn both bloc and provider, they are industry standard. Speaking from experience.
@krishnakumarramachandran5888
@krishnakumarramachandran5888 2 жыл бұрын
@@madscientist8489 what about riverpod?
@madscientist8489
@madscientist8489 2 жыл бұрын
@@krishnakumarramachandran5888 Riverpod is nice, but it's a bit behind from Provider and Bloc. Also I have yet to see anyone I know use Riverpod in production. Riverpod is just Proivder without Context. If you know Provider, Riverpod is really easy to learn.
@marufhassan634
@marufhassan634 2 жыл бұрын
There is no best state management, it depends on your app and which one you are comfortable with. Having said that if you are looking for a job, you must know Provider and Bloc because these scale very well for big apps. Bloc has a lot of boiler plate code but the logic is seperated out very well in it unlike Provider where you can make a complete mess if you don't separate logic and UI from the beginning.
@t_tek760
@t_tek760 2 жыл бұрын
@@marufhassan634 I’m more than confused when it comes to state management in flutter.. I think provider and bloc are way popular but I’m finding it difficult to understand the logic.. silly me 😡
@flutter4525
@flutter4525 6 ай бұрын
plz make these videos using android
Chapter 6 - Flutter Hooks - Flutter State Management Course 💙
1:58:21
Vandad Nahavandipoor
Рет қаралды 13 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 2,5 МЛН
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 21 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 36 МЛН
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,5 МЛН
Pragmatic State Management in Flutter (Google I/O'19)
33:25
Flutter
Рет қаралды 447 М.
7 Common Flutter Providers Explained
18:57
Learn App Code
Рет қаралды 18 М.
Flutter State Management - The Grand Tour
14:07
Fireship
Рет қаралды 237 М.
Flutter Provider - Advanced Firebase Data Management
11:08
Fireship
Рет қаралды 143 М.
Flutter Proxy Provider Simply Explained
13:44
Learn App Code
Рет қаралды 14 М.
The Tools I Use to Build Products in Laravel
19:00
Josh Cirre
Рет қаралды 15 М.
#Google Flutter - MVVM in Flutter using Providers.
34:34
Mobile Programmer
Рет қаралды 56 М.
Observable Flutter: Building with Stacked
1:47:30
Flutter
Рет қаралды 21 М.
Flutter Basics by a REAL Project
25:42
Flutter Guys
Рет қаралды 409 М.
Khi em gái tôi đắp mặt nạ || Mask of joy #shorts
0:11
Linh Nhi Shorts
Рет қаралды 5 МЛН