Flutter Provider EASY Tutorial

  Рет қаралды 61,253

Flutter Mapp

Flutter Mapp

Күн бұрын

Пікірлер: 160
@RandalLSchwartz
@RandalLSchwartz Жыл бұрын
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
@wakkowb Жыл бұрын
do you have any source pls?
@SkjoyBd
@SkjoyBd 11 ай бұрын
​@@wakkowb Speech without authentic source!
@iamawesomeheheh
@iamawesomeheheh 10 ай бұрын
thanks @RandalLSchwartz! but I'm wondering what can't Provider do that Riverpod can? care to share?
@ForChiddlers
@ForChiddlers 5 ай бұрын
Why do you lie. And why does the video author not call you out?
@husenpatel9381
@husenpatel9381 3 ай бұрын
That's why provider has 10k likes and riverpod has only 3300 on pub dev
@reaganza23
@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
@FlutterMapp Жыл бұрын
Glad I could help! Thank you Reaganza 🔥👍
@jnlstoredropshipping9343
@jnlstoredropshipping9343 2 ай бұрын
FlutterMapp is sent by the Programmer Godz
@georgiytalanov2602
@georgiytalanov2602 21 сағат бұрын
Simple, fast and clear!!! Thank you for excellent example!
@sehmendoza
@sehmendoza Жыл бұрын
That's very nice of you providing this information. Thank you so much! For sure, a lot of people appreciate it!
@shreyasachar5528
@shreyasachar5528 Жыл бұрын
Last Line was Insane 😂😂😂😂...btw Great video buddy
@FlutterMapp
@FlutterMapp Ай бұрын
😂😂😂
@learnandgrow4285
@learnandgrow4285 Ай бұрын
I have watched so many videos but this video was excellent with clear understanding .
@FlutterMapp
@FlutterMapp Ай бұрын
Letsgooooo!
@renecura
@renecura Жыл бұрын
Amazing tutorial, clean and clear.
@vladbarbu3372
@vladbarbu3372 3 ай бұрын
best flutter channel on the internet
@FlutterMapp
@FlutterMapp 3 ай бұрын
Thanks 💪💪
@backsidemil6230
@backsidemil6230 Ай бұрын
i have never seen explained video on provider thank you keep it up
@jandurak
@jandurak Жыл бұрын
Thanks
@FlutterMapp
@FlutterMapp Жыл бұрын
Pleasure Jandurak 👍
@elitearmedforce
@elitearmedforce Жыл бұрын
Amazing video, thank you for creating one. Now i am waiting for riverpod
@FlutterMapp
@FlutterMapp Жыл бұрын
Thank you!
@helloharendra
@helloharendra 9 ай бұрын
Easy to understand , well explained , love it.
@FlutterMapp
@FlutterMapp 9 ай бұрын
Glad to hear that!
@satyajitnayk
@satyajitnayk 2 ай бұрын
Thanks man. Your explanation matters a lot in my learning❤
@joncov
@joncov Жыл бұрын
just to express genuine gratitude and respect all your tuts are perfect, every second used 100%
@FlutterMapp
@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
@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
@noise3d Жыл бұрын
Absolutely loved this. All the other videos were so confusing. Thank you. Hope you do one for Riverpod soon.
@pranaygsk5045
@pranaygsk5045 Жыл бұрын
Got clarity how provider works, really simplified one on internet!
@FlutterMapp
@FlutterMapp Жыл бұрын
Glad it helped 👏
@JonnyS569
@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
@FlutterMapp Жыл бұрын
Yes a video just like this one about Riverpod is coming 👍
@JonnyS569
@JonnyS569 Жыл бұрын
@@FlutterMapp Perfect. Thank you very much ❤️
@elitearmedforce
@elitearmedforce Жыл бұрын
​@@FlutterMappI am highly looking forward to it.
@faezansar5417
@faezansar5417 Жыл бұрын
You made it loook so simple ,hats off
@davidactions3090
@davidactions3090 Жыл бұрын
Really helpful. Thank you again.
@FlutterMapp
@FlutterMapp Жыл бұрын
You're very welcome!
@DavidYesudas
@DavidYesudas Жыл бұрын
it was really helpful to understand the concept of provider thank you.
@FlutterMapp
@FlutterMapp Жыл бұрын
You are welcome!
@berkaykurkcu
@berkaykurkcu Жыл бұрын
Same video for Riverpod please!! Great video
@FlutterMapp
@FlutterMapp Жыл бұрын
Will do, thank you Berkay
@Mark_Thrasher
@Mark_Thrasher 11 ай бұрын
Excellent video! It is succinct and provided the general overview I wanted!
@indigomedia4158
@indigomedia4158 Жыл бұрын
Thank you very much for making this tutorial, you helped me a lot, i appreciate
@ajatajay4877
@ajatajay4877 6 ай бұрын
loved the video, but how did you navigate between settings page and home page with bottom navigation bar??
@BorgEmperorMJ
@BorgEmperorMJ 6 ай бұрын
Not garbage, good tutorial :))
@kishores-ik4zw
@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
@kishores-ik4zw Жыл бұрын
and explain about consumer that's the next level usage of provider
@FlutterMapp
@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
@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
@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-qb1ih
@Shamir-qb1ih 5 ай бұрын
​@@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.
@musamaluleke
@musamaluleke 12 күн бұрын
Amazing tutorial, thanks a lot sir.
@gjlmotea
@gjlmotea 8 ай бұрын
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
@89tain Ай бұрын
If i had a way, I would like this video a 100 times🙂
@rechi_0054
@rechi_0054 8 ай бұрын
grate explanation. ist there a diffrence in using the Consumer widget ot the read method when listening to the provider
@mohamednizam5298
@mohamednizam5298 10 ай бұрын
Do you have an example where u teach how to use both provider & sqflite? Planning to?
@ahmaddawood9691
@ahmaddawood9691 2 ай бұрын
Does any body told you that u are a genius ... provider tutorial in less than 10 minutes ....Thanks
@Lancelot69
@Lancelot69 8 ай бұрын
Why did you use "async" for the first provider's notifyListeners() but not use it for the 2nd one?
@joshuabumanlag396
@joshuabumanlag396 Жыл бұрын
Amazing video as always man! Manifesting for your to have a BloC tutorial soon!
@FlutterMapp
@FlutterMapp Жыл бұрын
Thank you Joshua!
@Engineer-Samibress
@Engineer-Samibress Жыл бұрын
Thanks a lot for your time 😊
@FlutterMapp
@FlutterMapp Жыл бұрын
My pleasure 😊
@myst.youtube
@myst.youtube 4 ай бұрын
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.
@FlutterMapp
@FlutterMapp 3 ай бұрын
Letsgooooo
@vbk-no4pk
@vbk-no4pk Жыл бұрын
Thank for sharing such kind of amazing content with us
@FlutterMapp
@FlutterMapp Жыл бұрын
Pleasure, thank you ✌
@unaisulhadi6445
@unaisulhadi6445 Жыл бұрын
Simplest explanation. Kudos
@ThePilli41
@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
@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
@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
@xD-x-xD Жыл бұрын
probably best redemption arc then cyberpunk
@RandalLSchwartz
@RandalLSchwartz 5 ай бұрын
No, and in fact Remi recommends new projects use Riverpod, not Provider, as Provider is now in "maintenance mode only".
@Rahman-bp8jz
@Rahman-bp8jz 16 күн бұрын
Thank you ❤❤❤
@safwanjmuhammed6816
@safwanjmuhammed6816 Жыл бұрын
Perfect explanation 💯💙
@FlutterMapp
@FlutterMapp Жыл бұрын
Thank you! 🔥
@muhendis_
@muhendis_ 6 ай бұрын
what a beautiful lesson
@princesekey
@princesekey 8 ай бұрын
Excellent 👌👌
@WaniTech
@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
@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
@WaniTech Жыл бұрын
Thanks@@FlutterMapp
@WaniTech
@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
@RomanShepel
@RomanShepel 11 ай бұрын
Thank you! It was very helpful!
@ajatajay4877
@ajatajay4877 7 ай бұрын
Life Saver video❤
@satdevlpr
@satdevlpr Жыл бұрын
is this rebuilds the whole page or just the particular widget ( Text widget in case of Counter example )?
@twrk139
@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?
@ravi2048
@ravi2048 11 ай бұрын
I wrapped the "MyApp()" inside the "runApp()" function because it was throwing an error and was suggesting me to wrap the "MyApp()" function.
@tulasireddy6557
@tulasireddy6557 Жыл бұрын
This tutorials was very nice, Please make tutorials on Flutter Bloc and RiverPod also
@FlutterMapp
@FlutterMapp Жыл бұрын
RiverPod is comming, thank you!
@hanifireffas4404
@hanifireffas4404 Жыл бұрын
great content.. thank u philip ♥
@FlutterMapp
@FlutterMapp Жыл бұрын
Thanks! Pleasure!
@Socsob
@Socsob 8 ай бұрын
This was awesome also I love the accent
Жыл бұрын
Good lesson. Teşekkürler, Thank you
@FlutterMapp
@FlutterMapp Жыл бұрын
Thank you!
@paolabarrios4589
@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?
@CodingwithDay
@CodingwithDay 8 ай бұрын
Thanks for the amazing video!
@teamomiparientes3769
@teamomiparientes3769 Ай бұрын
magnificent.. 🎉🎉
@abiodunosagie
@abiodunosagie 10 ай бұрын
thanks chief. well put.
@wezone88
@wezone88 Жыл бұрын
riverpod is wraper this provider?
@FlutterMapp
@FlutterMapp Жыл бұрын
Riverpod is the "newest" version. A tutorial similar to this one will be released.
@artem-ai
@artem-ai Жыл бұрын
Thank you very much. Very useful. If possible, please make a tutorial: provider for shop cart
@charithasds
@charithasds Жыл бұрын
Awesome! 🤩 Can you do the same for Riverpod (Provider 2.0)?
@FlutterMapp
@FlutterMapp Жыл бұрын
Yes, soon, thank you
@pradeeps4826
@pradeeps4826 6 ай бұрын
thank you sir
@MrAlwandawi
@MrAlwandawi Жыл бұрын
you are amazing bro ...
@TrojanPiece
@TrojanPiece 10 ай бұрын
You haven't showed how you initialized your userNameController variable, so the emulator is giving exception errors everytime now.
@mechul419
@mechul419 Жыл бұрын
Thank you I get it👌
@5ays470
@5ays470 7 ай бұрын
THANKS!!
@zakblacki
@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
@FlutterMapp Жыл бұрын
Good idea to talk about JSON map models. I will add this to the to-do list. Thank you! 👍
@zakblacki
@zakblacki Жыл бұрын
@@FlutterMapp also consider usage of constructor examples
@aisadak
@aisadak 7 ай бұрын
Thank u so much
@turkishaimusicproduction
@turkishaimusicproduction Жыл бұрын
Waiting for Bloc Tutorial and difference between them
@manishmg3994
@manishmg3994 Жыл бұрын
need more such videos
@FlutterMapp
@FlutterMapp Жыл бұрын
🙏
@kelpindev
@kelpindev Жыл бұрын
waw that is really good explanation 😍, can you create a video tutorial with provider too but using rest api ?
@yoto6730
@yoto6730 Жыл бұрын
what is the last icon name
@martinseal1987
@martinseal1987 Жыл бұрын
I don't need the explanation simplified I need the implementation simplified 😂
@FlutterMapp
@FlutterMapp Жыл бұрын
lol
@001Debjeet
@001Debjeet Жыл бұрын
please make video on riverpod 2 a short but without no counter value
@RianY2K
@RianY2K Жыл бұрын
thank you for tutorial, can you make tutorial about Riverpod provider too?
@FlutterMapp
@FlutterMapp Жыл бұрын
Yes, it's the next one on the list 🎉
@demojoe28
@demojoe28 Жыл бұрын
Can you link the github repo please 🙏
@FlutterMapp
@FlutterMapp Жыл бұрын
There is no github repo. 📖
@jv18creator
@jv18creator Жыл бұрын
@@FlutterMapp could you please upload the code?
@sofianemaaradji2625
@sofianemaaradji2625 Жыл бұрын
Thnx.first comment 😅
@FlutterMapp
@FlutterMapp Жыл бұрын
First reply 🔥
@caoviet.techlonogy
@caoviet.techlonogy 8 ай бұрын
Why not show skeleton.dart ???
@chaitanyadamarasingu979
@chaitanyadamarasingu979 Жыл бұрын
I was searching and found this video OMG its 6 hrs ago
@FlutterMapp
@FlutterMapp Жыл бұрын
Lol, hope it was useful 🔥.
@pyproger
@pyproger 11 ай бұрын
nice man
@AdhamFaisal875
@AdhamFaisal875 5 ай бұрын
please need link of repo github
@tahseenahmadansari-g1o
@tahseenahmadansari-g1o 4 ай бұрын
kindly make series on Bloc
@FlutterMapp
@FlutterMapp 3 ай бұрын
Its already in the production pipeline
@abdullahkhaled6543
@abdullahkhaled6543 Жыл бұрын
👌
@ShaunyTravels.
@ShaunyTravels. 10 ай бұрын
More videos 😢please !!!
@martinseal1987
@martinseal1987 Жыл бұрын
I'll stick to inherited widgets
@boulderfailguy
@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
@FlutterMapp Жыл бұрын
loll. Merci. Ouai c'est vraiment Provider for beginners, just to keep things simple.
@juniorlanga4505
@juniorlanga4505 10 ай бұрын
Hahahahaha the tutorial was no garbage 😅
@FlutterMapp
@FlutterMapp 10 ай бұрын
lol, thank you Junior!
@evershors
@evershors Ай бұрын
what did you say at the end of the video😅
@FlutterMapp
@FlutterMapp Ай бұрын
😂
@chomanthapa
@chomanthapa Жыл бұрын
yo! sexy voice.. great . provider is old can you do riverpod instead. ?
@FlutterMapp
@FlutterMapp Жыл бұрын
100% 👍 Will do this one next.
@_M.Y17
@_M.Y17 4 ай бұрын
bro it says 'EASY' tutorial...
@FlutterMapp
@FlutterMapp 4 ай бұрын
Damn, I though it was.. what was the problem?
@_M.Y17
@_M.Y17 3 ай бұрын
@@FlutterMapp bro i don't know all tutorials so hard
@FlutterMapp
@FlutterMapp 3 ай бұрын
You got this man
@_M.Y17
@_M.Y17 3 ай бұрын
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
@FlutterMapp
@FlutterMapp 3 ай бұрын
It's totally fine, when someone complain about something, it's because it can should improved! 👍 so all comment are always valuable!
@ForChiddlers
@ForChiddlers 5 ай бұрын
Good tutorial, but stop using clean code. It makes it almost unreadable
@ahmed_alharthi
@ahmed_alharthi Жыл бұрын
Part2 is missing
@gasfeesofficial3557
@gasfeesofficial3557 9 ай бұрын
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.
Flutter Clean Architecture - Full Course
1:14:08
Flutter Mapp
Рет қаралды 84 М.
10x Your Speed With Flutter
8:04
Flutter Mapp
Рет қаралды 77 М.
Flutter Riverpod EASY Tutorial
8:16
Flutter Mapp
Рет қаралды 29 М.
5 Awesome Flutter Packages for 10X Faster Development
4:18
TDevelopers
Рет қаралды 2,6 М.
Top 35 Flutter Widgets
29:29
Flutter Mapp
Рет қаралды 333 М.
Pragmatic State Management in Flutter (Google I/O'19)
33:25
Flutter
Рет қаралды 455 М.
Flutter Provider - Advanced Firebase Data Management
11:08
Fireship
Рет қаралды 145 М.
Provider 📱 Simple State Management • Flutter Tutorial
5:48
Flutter State Management - The Grand Tour
14:07
Fireship
Рет қаралды 247 М.
Top 30 Flutter Tips and Tricks
6:50
Flutter Mapp
Рет қаралды 576 М.
Flutter Provider Simply Explained
9:08
Learn App Code
Рет қаралды 92 М.