@@CodeWithAndrea yes please. The real thing starts when you have couple of screens and each of them should have its own ViewModel. And often each view model has a user repository or data repository as a dependency. And you need to access them and handle their changes, also you should change UI correspondingly. P.S. thanks to Provider v.3 there are ProxyProvider and ChangeNotifierProxyProvider which do the nesting dependency. But we need a solid example of how it should be built nice and clean
Thanks for the course. Any chance for its update? Current provider is in version 5 now (3 in your vid), and some things have changed, such as it is no longer recommended to use `Provider.value`.
Thank you for providing this great tutorial. Just one request, please provide some tutorials for MVVM Architecture. I will always be waiting for new videos on MVVM Architecture.
Hey, It was a nice tutorial for understanding Flutter Provider Package. How to access the flavor state where will not have access to context, say in the network manager wrapper which decides the base URL based on the flavor we are running.
if we send a different context what would happen?? as in final flavor = Provader.of("SOME OTHER CONTEXT"); would we be looking in a different widget tree?? thanks so much
Hi, Andrea, I noticed in the official provider package ReadMe, it says DON'T use Provider.value to create your object, and I don't understand, is there update for your provider video? thank you!
That's an interesting request. That could be the content for an entire course. Have you looked for videos/courses on this topic? What's missing in your opinion?
Hi Andrea, I am one of your students in Udemy as well. I completed the course there and now I am here based on your recommendation to checkout this flutter provider course on UA-cam. I liked your videos and tutorials. Congratulations and please keep up the good work. I have a request though. I developed a Flutter mobile app with firebase as a backend service. It is a social media app that really needs realtime data flow. I used streambuilder but the problems is that I could not find a solution for pagination with streambuilders in flutter and this makes streambuilders very hard to use for pagination and realtime data flow at the same time. Do you mind making a video on pagination with streambuilders using firebase. It will help, not only me but, a bunch of other developers that are looking for a solution. thank you
Can i use this method to sign in different users to different home screen ? example you could login as an admin or user, both have different home screens how can i solve this issue with flutter. and how do i let the user stay logged in to a particular home screen. please can anyone help me.
well explained but example is not comprehensible for most of us state management noobs, We are watching this as probably the "second video" to get in State management, by that aspect this could have been little easier to understand. especially by changing from "flavor" thing example. Thanks anyway. I've seen your other videos, all helped a lot.
the provider itself is complicated for beginners like me and adding flavor makes it even complex, the flavor thing can be skipped for sake of simplicity
@@CodeWithAndrea okey, thanks. I'm looking for something like Vuex (state manager for Vue). Where you have a single globally accessible store that holds the state and the methods used to mutate the state. Whenever the state is mutated, all subscribers to it gets the updated state. I would like to not subscribe to the state inside of the widget tree, because that seems like a pretty bad design choice to me. It couples data with UI too hard. Sometimes you need to do computations on the data first before triggering a re-render. I've heard about redux, but it still seems like you have to subscribe to state changes with widgets. Got any ideas?
Hi, your Udemy courses are amazing I have just seen demos. I have a request to you I am a student and I can't afford to buy courses in this case I need your help please 🙏l
May I suggest removing all the boiler plate comments from the files you use in your tutorial? Those comments are not related to your tutorial. The comments cause you to waste time to scrolling around the file. The comments interfere with letting the viewer see the important code you add.
i came here to know about provider i thought flavor is some type of example you used for a recipe app or food app only to find out that its a concept in flutter you didnt explain why we need to use provider in the first place is it soo important is it a good alternative or its a must to know widget these kind of stuff please.................... dont just start making projects without telling us why .......you know your stuff but you can do better wit explaining
seeing on the v4+ Provider release pages now: "DON'T use Provider.value to create your object. ChangeNotifierProvider.value( value: MyModel(), child: ... )"
@Adam Rudd If I am trying to use ChangeNotifierProvider in place of Provider.value in v4.+, I am getting an error which says 'Flavor' doesn't extend ChangeNotifier' ChangeNotifierProvider.value( value: Flavor.dev, child: MyApp(), ),
Thanks Andrea! Kindly complete this series to be a reference for everyone.
New videos will be added weekly ;)
@@CodeWithAndrea Awesome, you can also show some love for my comment (the first comment).
Thanks once more. It is a great update of your excelente course. Waiting for the next video.
can you please do a series on architectures...mvp, mvvm etc.
Interesting - this has been requested twice in a day. I'll keep this in mind :)
@@CodeWithAndrea yes please. The real thing starts when you have couple of screens and each of them should have its own ViewModel.
And often each view model has a user repository or data repository as a dependency. And you need to access them and handle their changes, also you should change UI correspondingly.
P.S. thanks to Provider v.3 there are ProxyProvider and ChangeNotifierProxyProvider which do the nesting dependency.
But we need a solid example of how it should be built nice and clean
Thanks for the course. Any chance for its update? Current provider is in version 5 now (3 in your vid), and some things have changed, such as it is no longer recommended to use `Provider.value`.
great tutorial! really good for us beginners ! towards the end you really did give us a glimpse of how high the mountain goes :)
Yeah! Its great! You should also check this video over Provider😁 ua-cam.com/video/hRStAmkTcJY/v-deo.html
Thank you for providing this great tutorial.
Just one request, please provide some tutorials for MVVM Architecture.
I will always be waiting for new videos on MVVM Architecture.
I watched a lot of videos this made me click! Good work
Hi what is the name of that program of widget tree visualization in 03:11? thank a lot
nice entry to provider! thanks alot!
Great tutorial !
It would have been event greater had you left a link to the source code so that I could play around with it.
Thanks Andrea
Hey, It was a nice tutorial for understanding Flutter Provider Package. How to access the flavor state where will not have access to context, say in the network manager wrapper which decides the base URL based on the flavor we are running.
Is it up to date to the latest release of provider and flutter?
if we send a different context what would happen??
as in
final flavor = Provader.of("SOME OTHER CONTEXT");
would we be looking in a different widget tree??
thanks so much
Can you make a video regarding, how to fetch data from restapi using provider pattern in flutter ?
Good explanation 👍
Hi, Andrea, I noticed in the official provider package ReadMe, it says DON'T use Provider.value to create your object, and I don't understand, is there update for your provider video? thank you!
Hope to get more videos on flutter on daily basis
this is gold
please can you do a video on code structures, design patterns, architectures etc.
That's an interesting request. That could be the content for an entire course. Have you looked for videos/courses on this topic? What's missing in your opinion?
Hi Andrea, it would be amazing series.. After Provider series do you have plan about Isolates series ?
Not planned at the moment. The Flutter team already published some great tutorials about isolates.
what on earth is flavors and why do we need 3 entry points? Newbie here please explain.
Hi Andrea, I am one of your students in Udemy as well. I completed the course there and now I am here based on your recommendation to checkout this flutter provider course on UA-cam. I liked your videos and tutorials. Congratulations and please keep up the good work.
I have a request though. I developed a Flutter mobile app with firebase as a backend service. It is a social media app that really needs realtime data flow. I used streambuilder but the problems is that I could not find a solution for pagination with streambuilders in flutter and this makes streambuilders very hard to use for pagination and realtime data flow at the same time. Do you mind making a video on pagination with streambuilders using firebase. It will help, not only me but, a bunch of other developers that are looking for a solution.
thank you
Thanks
Waiting for the next video
Which VS code extension have you used for showing up the trees like lines for indentions and blocks of codes?
Try setting "dart.previewFlutterUiGuides": true in "settings.json".
Can i use this method to sign in different users to different home screen ? example you could login as an admin or user, both have different home screens how can i solve this issue with flutter. and how do i let the user stay logged in to a particular home screen. please can anyone help me.
just what i need, thank you
for an intro it could have been a simpler provider, interesting although the flavors, thanks
Thanks !!!!!!!!!!
waiting for next................
can you share the theme you use for vscode?
It's called Dracula
Thanks for share, really help me alot.
What is the VSCode theme that you are using?
Dhruv Kelawala it’s called Dracula
Can I learn it now? Or provider is updated ?
dude same doubt
@@ISOLATED_MAN_ Learn from an updated source. I have learned it.
@@aayasir217 thx bro..
thank you for video, but if anyone want to use no Flavor, what about that?
Then don’t use it :) This was just an example showing how to provide value in the widget tree.
What is the VS COde theme?
The theme is Dracula
well explained but example is not comprehensible for most of us state management noobs, We are watching this as probably the "second video" to get in State management, by that aspect this could have been little easier to understand. especially by changing from "flavor" thing example. Thanks anyway. I've seen your other videos, all helped a lot.
the provider itself is complicated for beginners like me and adding flavor makes it even complex, the flavor thing can be skipped for sake of simplicity
What if you need 50 different providers? Do you need 50 widgets in the root?
Provided that you’re happy to have them accessible by all widgets, yes you can put them inside a MultiProvider.
@@CodeWithAndrea okey, thanks. I'm looking for something like Vuex (state manager for Vue). Where you have a single globally accessible store that holds the state and the methods used to mutate the state. Whenever the state is mutated, all subscribers to it gets the updated state. I would like to not subscribe to the state inside of the widget tree, because that seems like a pretty bad design choice to me. It couples data with UI too hard. Sometimes you need to do computations on the data first before triggering a re-render. I've heard about redux, but it still seems like you have to subscribe to state changes with widgets. Got any ideas?
Great 😊👍
🔥
Hi, your Udemy courses are amazing I have just seen demos.
I have a request to you I am a student and I can't afford to buy courses in this case I need your help please 🙏l
So why do you take something simple and use a difficult example?
May I suggest removing all the boiler plate comments from the files you use in your tutorial? Those comments are not related to your tutorial. The comments cause you to waste time to scrolling around the file. The comments interfere with letting the viewer see the important code you add.
i came here to know about provider i thought flavor is some type of example you used for a recipe app or food app only to find out that its a concept in flutter you didnt explain why we need to use provider in the first place is it soo important is it a good alternative or its a must to know widget these kind of stuff please.................... dont just start making projects without telling us why .......you know your stuff but you can do better wit explaining
This should've been a provider specific tutorial, there was no need to implement flavors or complicate it by creating multiple main.dart files.
seeing on the v4+ Provider release pages now:
"DON'T use Provider.value to create your object.
ChangeNotifierProvider.value(
value: MyModel(),
child: ...
)"
@Adam Rudd If I am trying to use ChangeNotifierProvider in place of Provider.value in v4.+, I am getting an error which says 'Flavor' doesn't extend ChangeNotifier'
ChangeNotifierProvider.value(
value: Flavor.dev,
child: MyApp(),
),