Just the tutorial I was looking for, thanks! And can I know the name of that VSCode extension to highlight errors on the line itself? That would be a pretty useful extension for me to have.
Guy na God go bless you thanks a million for this, other UA-camr provider tutorials online assume that you're super smart and hit you with too much information but you laid this out nicely for the not so smart developer like me 😅🤗🔥 thank you sir
Its because final example = Provider.of(context); is called from inside the build method and hence it requires listen property: false , like final before = Provider.of(context, listen: false); Starting from version 4.1.0 there are some shortcuts you can use to reduce the boilerplate code required for common actions. The library introduced two new extension methods you should prefer over the classic verbose way: // Default provider (with listen: true) final before = Provider.of(context); final after = context.watch(); // Non-listening provider (with listen: false) final before = Provider.of(context, listen: false); final after = context.read(); I recommend Flutter Complete Reference book , it will clear all your doubts
For state, i just use a global class and put everthing in there , then callbacks for all events passing value . Simple, easy for small projects. Have not needed a state management system yet . Works across multiple screens
OMG this is really an extremely complete and detailed tutorial, it is save my day
The best on the internet.
It's was really a tutorial for a 5-year child. Thanks for making it very easy. Very knowledgeable
Glad it was helpful!
Great tuto dude. you site is unreachable from Brazil
Much Needed one for Me
Just the tutorial I was looking for, thanks! And can I know the name of that VSCode extension to highlight errors on the line itself? That would be a pretty useful extension for me to have.
I think its ErrorLens Extention
@@Alex-p2x8l Thanks!
Awesome! Congrats from Brazil!
Your website to your course is not working.
Can you share course with udemy with certificate , for add it it linkdin and all
What course are you referring to?
Easy to understand explanation! TQ
This single video helps you go from beginner to intermediate
Guy na God go bless you thanks a million for this, other UA-camr provider tutorials online assume that you're super smart and hit you with too much information but you laid this out nicely for the not so smart developer like me 😅🤗🔥 thank you sir
Hello thank's for the video it was helpful
Can i see "getUsername() returning Future" code I have problem to test your code locally
I can't find link in the description
this is very clear explanation.
Such a simple and cool explanation!) Thanks from Ukraine
ListenableProvider and ValueListenableProvider is missing can you include it too ,Thanks for this video.
I don't know if they are common. I will take note on this.
thanks bro
If we want multiple strings to return through provider ??
I want to see all files for each example to understand the code, is there a github link?
Good video. How can it be that the name variable gets changed in the Provider example even though it's declared final?
Really well explained!
I am getting an error on ChangeNotifierProvider example that onPressed I have to make listen property false. But it's not giving you any error
Its because final example = Provider.of(context);
is called from inside the build method and hence it requires listen property: false , like final before = Provider.of(context, listen: false);
Starting from version 4.1.0 there are some shortcuts you can use to reduce the boilerplate code
required for common actions. The library introduced two new extension methods you should
prefer over the classic verbose way:
// Default provider (with listen: true)
final before = Provider.of(context);
final after = context.watch();
// Non-listening provider (with listen: false)
final before = Provider.of(context, listen: false);
final after = context.read();
I recommend Flutter Complete Reference book , it will clear all your doubts
@@abhishekbhambure5146 That's awesome explanation 😍
For state, i just use a global class and put everthing in there , then callbacks for all events passing value . Simple, easy for small projects. Have not needed a state management system yet . Works across multiple screens
Link to payment is broken for the course
Here is the link: sso.teachable.com/secure/805788/checkout/2902484/flutter-provider-state-management
thx very much
Thanks man!
No problem!
Great job men. Thanks.👍
Thank you too!
Superb
Is the course in Udemy?
Pls send github link.
👍👍👍🔥🔥🔥
whats ur purpose? explain provider :p