Keep in mind, Remi (the creator of both Provider and Riverpod) has said that Provider is in maintenance mode only, and all new projects should be using Riverpod instead.
@wakkowb Жыл бұрын
do you have any source pls?
@SkjoyBd11 ай бұрын
@@wakkowb Speech without authentic source!
@iamawesomeheheh10 ай бұрын
thanks @RandalLSchwartz! but I'm wondering what can't Provider do that Riverpod can? care to share?
@ForChiddlers5 ай бұрын
Why do you lie. And why does the video author not call you out?
@husenpatel93813 ай бұрын
That's why provider has 10k likes and riverpod has only 3300 on pub dev
@reaganza23 Жыл бұрын
Man I've been longing for the provider video for a long time and no youtuber have been able to explain it this way. Dude you are amazing.
@FlutterMapp Жыл бұрын
Glad I could help! Thank you Reaganza 🔥👍
@jnlstoredropshipping93432 ай бұрын
FlutterMapp is sent by the Programmer Godz
@georgiytalanov260221 сағат бұрын
Simple, fast and clear!!! Thank you for excellent example!
@sehmendoza Жыл бұрын
That's very nice of you providing this information. Thank you so much! For sure, a lot of people appreciate it!
@shreyasachar5528 Жыл бұрын
Last Line was Insane 😂😂😂😂...btw Great video buddy
@FlutterMappАй бұрын
😂😂😂
@learnandgrow4285Ай бұрын
I have watched so many videos but this video was excellent with clear understanding .
@FlutterMappАй бұрын
Letsgooooo!
@renecura Жыл бұрын
Amazing tutorial, clean and clear.
@vladbarbu33723 ай бұрын
best flutter channel on the internet
@FlutterMapp3 ай бұрын
Thanks 💪💪
@backsidemil6230Ай бұрын
i have never seen explained video on provider thank you keep it up
@jandurak Жыл бұрын
Thanks
@FlutterMapp Жыл бұрын
Pleasure Jandurak 👍
@elitearmedforce Жыл бұрын
Amazing video, thank you for creating one. Now i am waiting for riverpod
@FlutterMapp Жыл бұрын
Thank you!
@helloharendra9 ай бұрын
Easy to understand , well explained , love it.
@FlutterMapp9 ай бұрын
Glad to hear that!
@satyajitnayk2 ай бұрын
Thanks man. Your explanation matters a lot in my learning❤
@joncov Жыл бұрын
just to express genuine gratitude and respect all your tuts are perfect, every second used 100%
@FlutterMapp Жыл бұрын
Do you prefer if I begin the tutorial without the whole 'Hi, my name is..., welcome to my channel, hit the notification bell, etc.' routine? 😄 Lol, just kidding, I can't stand it when people do that on KZbin! It's great that you also appreciate straightforward content. 🙏
@joncov Жыл бұрын
@@FlutterMapp it is not only about the straightforward content; you combine thorough understanding with a natural gift to distill what's most important in it, with the effort to prepare the clips that are short but comprehensive can be compared to the communication race engineer to driver in F1 :) max content in min time in unequivocal way
@noise3d Жыл бұрын
Absolutely loved this. All the other videos were so confusing. Thank you. Hope you do one for Riverpod soon.
@pranaygsk5045 Жыл бұрын
Got clarity how provider works, really simplified one on internet!
@FlutterMapp Жыл бұрын
Glad it helped 👏
@JonnyS569 Жыл бұрын
Thanks for the video. Great work. I think a video about Riverpod and especially the new auto generate function's would be great because I provider is already pretty outdated isn't it?
@FlutterMapp Жыл бұрын
Yes a video just like this one about Riverpod is coming 👍
@JonnyS569 Жыл бұрын
@@FlutterMapp Perfect. Thank you very much ❤️
@elitearmedforce Жыл бұрын
@@FlutterMappI am highly looking forward to it.
@faezansar5417 Жыл бұрын
You made it loook so simple ,hats off
@davidactions3090 Жыл бұрын
Really helpful. Thank you again.
@FlutterMapp Жыл бұрын
You're very welcome!
@DavidYesudas Жыл бұрын
it was really helpful to understand the concept of provider thank you.
@FlutterMapp Жыл бұрын
You are welcome!
@berkaykurkcu Жыл бұрын
Same video for Riverpod please!! Great video
@FlutterMapp Жыл бұрын
Will do, thank you Berkay
@Mark_Thrasher11 ай бұрын
Excellent video! It is succinct and provided the general overview I wanted!
@indigomedia4158 Жыл бұрын
Thank you very much for making this tutorial, you helped me a lot, i appreciate
@ajatajay48776 ай бұрын
loved the video, but how did you navigate between settings page and home page with bottom navigation bar??
@BorgEmperorMJ6 ай бұрын
Not garbage, good tutorial :))
@kishores-ik4zw Жыл бұрын
I know provider well but I just learned from mistake when I am learning it's to hard for me but your video helps lots of people it's so simple and clean
@kishores-ik4zw Жыл бұрын
and explain about consumer that's the next level usage of provider
@FlutterMapp Жыл бұрын
Could you please explain why 'Consumer' is the next level of usage? Can't you just use '.watch,' and it will achieve the same result?
@kishores-ik4zw Жыл бұрын
you can used to listen to changes in a specific piece of data provided by a ChangeNotifier it's will optimise your code and get better response also @@FlutterMapp
@yoto6730 Жыл бұрын
.watch and Consumer serve the purpose of listening to changes in a provider and triggering rebuilds, but .watch is more direct and concise, especially for simple use cases where you just need the value from the provider. On the other hand, Consumer provides more control over the widget tree that gets rebuilt when the provider changes, making it useful for more complex scenarios where you want to isolate specific parts of your UI.@@FlutterMapp
@Shamir-qb1ih5 ай бұрын
@@FlutterMappConsumer will only rebuild the widget we wraps in. But if we use 'watch' the entire widget tree will rebuild, which means for large application, using consumer is the best choice for better performance.
@musamaluleke12 күн бұрын
Amazing tutorial, thanks a lot sir.
@gjlmotea8 ай бұрын
Nice! but one question why 1:21 user_provider.dart extend "ChangeNotifier" class but the file name call "user_provider.dart"? there are exist "ChangeNotifierProvider" Class in flutter 1:3 I don't know what is that and difference.
@89tainАй бұрын
If i had a way, I would like this video a 100 times🙂
@rechi_00548 ай бұрын
grate explanation. ist there a diffrence in using the Consumer widget ot the read method when listening to the provider
@mohamednizam529810 ай бұрын
Do you have an example where u teach how to use both provider & sqflite? Planning to?
@ahmaddawood96912 ай бұрын
Does any body told you that u are a genius ... provider tutorial in less than 10 minutes ....Thanks
@Lancelot698 ай бұрын
Why did you use "async" for the first provider's notifyListeners() but not use it for the 2nd one?
@joshuabumanlag396 Жыл бұрын
Amazing video as always man! Manifesting for your to have a BloC tutorial soon!
@FlutterMapp Жыл бұрын
Thank you Joshua!
@Engineer-Samibress Жыл бұрын
Thanks a lot for your time 😊
@FlutterMapp Жыл бұрын
My pleasure 😊
@myst.youtube4 ай бұрын
This is literally tutorial not to drag into tutorial hell because you can understand how to use it! now I'm confidently can use provider as my state management for my small project.
@FlutterMapp3 ай бұрын
Letsgooooo
@vbk-no4pk Жыл бұрын
Thank for sharing such kind of amazing content with us
@FlutterMapp Жыл бұрын
Pleasure, thank you ✌
@unaisulhadi6445 Жыл бұрын
Simplest explanation. Kudos
@ThePilli41 Жыл бұрын
is there any reason to use provide orver Riverpod? I know its build on the top of it, but its also simpler I would say...
@FlutterMapp Жыл бұрын
The only reason for this tutorial is that the two previous provider tutorials on this channel were terrible (Absolute garbage), so this is the redemption arc, lol. The next one is about Riverpod 🙏.
@ThePilli41 Жыл бұрын
I see I see. no matter what, I still very much appreciate the video! :) tbh you are the one I have started my flutter journey with, couple months ago ^^ @@FlutterMapp
@xD-x-xD Жыл бұрын
probably best redemption arc then cyberpunk
@RandalLSchwartz5 ай бұрын
No, and in fact Remi recommends new projects use Riverpod, not Provider, as Provider is now in "maintenance mode only".
@Rahman-bp8jz16 күн бұрын
Thank you ❤❤❤
@safwanjmuhammed6816 Жыл бұрын
Perfect explanation 💯💙
@FlutterMapp Жыл бұрын
Thank you! 🔥
@muhendis_6 ай бұрын
what a beautiful lesson
@princesekey8 ай бұрын
Excellent 👌👌
@WaniTech Жыл бұрын
i am a bit confused, when i first time used Providers to fetch and display the data, the way i used the providers was first create a class which inherits from changenotifier then whereever i have to use the fetched data from the app i just created the instance of the api class(extends changeNotifier) like this final api = Provider.of(context, listen: false); then inside the futurebuilder i called getData() method future: api.getData(), i dont know if this is the right way or not it was my first time using providers however my application was working somehow but my code was a mess, i was using the the getdata method once but i had to use it in two screens to display the data but i dont know why it fetched the data two times or more that made the screen flicker. which way is the right way to use providers the way used it or yours?
@FlutterMapp Жыл бұрын
Provider.of(context, listen: false) is the same as using .read 👍 .read is just simple to using in my opinion. You have a simple definition on this provider checklist. fluttermapp.com/provider . 🔥
@WaniTech Жыл бұрын
Thanks@@FlutterMapp
@WaniTech Жыл бұрын
by the way i have alot of questions regarding flutter keywords, can i ask you here or somewhere else? for example "context", "key", ".of()"method etc
@RomanShepel11 ай бұрын
Thank you! It was very helpful!
@ajatajay48777 ай бұрын
Life Saver video❤
@satdevlpr Жыл бұрын
is this rebuilds the whole page or just the particular widget ( Text widget in case of Counter example )?
@twrk139 Жыл бұрын
Is it better to wrap the MaterialApp with MultiProvider in the build method of the, in your case "MyApp", or inside the runApp call in the main function?
@ravi204811 ай бұрын
I wrapped the "MyApp()" inside the "runApp()" function because it was throwing an error and was suggesting me to wrap the "MyApp()" function.
@tulasireddy6557 Жыл бұрын
This tutorials was very nice, Please make tutorials on Flutter Bloc and RiverPod also
@FlutterMapp Жыл бұрын
RiverPod is comming, thank you!
@hanifireffas4404 Жыл бұрын
great content.. thank u philip ♥
@FlutterMapp Жыл бұрын
Thanks! Pleasure!
@Socsob8 ай бұрын
This was awesome also I love the accent
Жыл бұрын
Good lesson. Teşekkürler, Thank you
@FlutterMapp Жыл бұрын
Thank you!
@paolabarrios4589 Жыл бұрын
Hola amigo, hoy me suscribí me encantan tus videos, y recién apenas conozco el canal. Tenes algún video o vas a subir de GETX?
@CodingwithDay8 ай бұрын
Thanks for the amazing video!
@teamomiparientes3769Ай бұрын
magnificent.. 🎉🎉
@abiodunosagie10 ай бұрын
thanks chief. well put.
@wezone88 Жыл бұрын
riverpod is wraper this provider?
@FlutterMapp Жыл бұрын
Riverpod is the "newest" version. A tutorial similar to this one will be released.
@artem-ai Жыл бұрын
Thank you very much. Very useful. If possible, please make a tutorial: provider for shop cart
@charithasds Жыл бұрын
Awesome! 🤩 Can you do the same for Riverpod (Provider 2.0)?
@FlutterMapp Жыл бұрын
Yes, soon, thank you
@pradeeps48266 ай бұрын
thank you sir
@MrAlwandawi Жыл бұрын
you are amazing bro ...
@TrojanPiece10 ай бұрын
You haven't showed how you initialized your userNameController variable, so the emulator is giving exception errors everytime now.
@mechul419 Жыл бұрын
Thank you I get it👌
@5ays4707 ай бұрын
THANKS!!
@zakblacki Жыл бұрын
Thank you very simple, but I suggest you next time to provide more complex example usage. would be nice to have more state management Redux, Bloc, Mobus, Binder. Can you make a video explaining Models json map when creating some app MVC
@FlutterMapp Жыл бұрын
Good idea to talk about JSON map models. I will add this to the to-do list. Thank you! 👍
@zakblacki Жыл бұрын
@@FlutterMapp also consider usage of constructor examples
@aisadak7 ай бұрын
Thank u so much
@turkishaimusicproduction Жыл бұрын
Waiting for Bloc Tutorial and difference between them
@manishmg3994 Жыл бұрын
need more such videos
@FlutterMapp Жыл бұрын
🙏
@kelpindev Жыл бұрын
waw that is really good explanation 😍, can you create a video tutorial with provider too but using rest api ?
@yoto6730 Жыл бұрын
what is the last icon name
@martinseal1987 Жыл бұрын
I don't need the explanation simplified I need the implementation simplified 😂
@FlutterMapp Жыл бұрын
lol
@001Debjeet Жыл бұрын
please make video on riverpod 2 a short but without no counter value
@RianY2K Жыл бұрын
thank you for tutorial, can you make tutorial about Riverpod provider too?
@FlutterMapp Жыл бұрын
Yes, it's the next one on the list 🎉
@demojoe28 Жыл бұрын
Can you link the github repo please 🙏
@FlutterMapp Жыл бұрын
There is no github repo. 📖
@jv18creator Жыл бұрын
@@FlutterMapp could you please upload the code?
@sofianemaaradji2625 Жыл бұрын
Thnx.first comment 😅
@FlutterMapp Жыл бұрын
First reply 🔥
@caoviet.techlonogy8 ай бұрын
Why not show skeleton.dart ???
@chaitanyadamarasingu979 Жыл бұрын
I was searching and found this video OMG its 6 hrs ago
@FlutterMapp Жыл бұрын
Lol, hope it was useful 🔥.
@pyproger11 ай бұрын
nice man
@AdhamFaisal8755 ай бұрын
please need link of repo github
@tahseenahmadansari-g1o4 ай бұрын
kindly make series on Bloc
@FlutterMapp3 ай бұрын
Its already in the production pipeline
@abdullahkhaled6543 Жыл бұрын
👌
@ShaunyTravels.10 ай бұрын
More videos 😢please !!!
@martinseal1987 Жыл бұрын
I'll stick to inherited widgets
@boulderfailguy Жыл бұрын
C'était un ostie d'ordure! Nah just kidding - people complaining about it being too simple cleary didn't listen to the intro.
@FlutterMapp Жыл бұрын
loll. Merci. Ouai c'est vraiment Provider for beginners, just to keep things simple.
@juniorlanga450510 ай бұрын
Hahahahaha the tutorial was no garbage 😅
@FlutterMapp10 ай бұрын
lol, thank you Junior!
@evershorsАй бұрын
what did you say at the end of the video😅
@FlutterMappАй бұрын
😂
@chomanthapa Жыл бұрын
yo! sexy voice.. great . provider is old can you do riverpod instead. ?
@FlutterMapp Жыл бұрын
100% 👍 Will do this one next.
@_M.Y174 ай бұрын
bro it says 'EASY' tutorial...
@FlutterMapp4 ай бұрын
Damn, I though it was.. what was the problem?
@_M.Y173 ай бұрын
@@FlutterMapp bro i don't know all tutorials so hard
@FlutterMapp3 ай бұрын
You got this man
@_M.Y173 ай бұрын
I'm really sorry if I upset you with my earlier words. I just watched again with clear mind, realized how valuable and understandable your work is. Thank you
@FlutterMapp3 ай бұрын
It's totally fine, when someone complain about something, it's because it can should improved! 👍 so all comment are always valuable!
@ForChiddlers5 ай бұрын
Good tutorial, but stop using clean code. It makes it almost unreadable
@ahmed_alharthi Жыл бұрын
Part2 is missing
@gasfeesofficial35579 ай бұрын
good video but simplistic examples don't do the justice to the power of using "Provider" or why someone should use it ... the authors examples could be solved just as easily by using simple state updates because what he is trying to do to explain the usage of Provider is too simplistic. if someone is confused like I was, here is something that will simplify ... Provider is best used for cases where you can have multiple inputs but a single output. Best case scenario is: where you update one widget based on several data-inputs that can invoke a different states for the widget. For example say you are updating a candlestick chart on a screen and are using a charting package/library like syncfusion or fl_chart. But you can't find one API that does it all or you are limited by # of calls from one also, some APIs may give data on one timeframe (1 d) vs. others may give data on other time frames (1 min, 5 min, 15 min etc.). You want to update the same chart widget, which is located on the center of the screen, based on possible changes to these multiple inputs (i.e. different timeframes). Additionally, you may also have a dropdown where the user can select a different instrument (like, BTCUSD, ETHUSD, US500 etc.) ... but you still want the same chart widget to update in the center of the screen. Furthermore, You may have a zoom button that pulls in more data from your API etc. ... Provider does best for these cases ... because you define a main listener (i.e. Consumer i.e. chart widget which comes from a library) .. .and you simply notify that widget when you manipulate it's data candlestick data sources. There are a lot of other approaches to accomplish the same thing too -> instead of using a charting library, you could break your widget down into individual candles and create a synthetic widget made of rectangles and lines. Fetch your data in a specific way -> manipulate your chart or specific candle that you are interested in. That's more of one-input -> update state -> display widget simplified lifecycle. Also, if you have better understanding of server-side/back-end technologies and can control of your data better... you can manipulate the data first and have it ready just as you would update it -> fetch the data -> then pass it into simple state-update widget all at once.