Great explanation Garrett. I spent the whole day trying to understand the BuildContext from articles and your explanation here was perfect and I now understand how the context works now. Thank you very much.
@scienceblossom61974 жыл бұрын
Answer to your question at 7:00 : I prefer the code to be written already beforehand in SUCH a video, where really typing code is just a waste of time and irrelevant to the main point of the video, however, in some cases typing the code might be the better way to go. So in my opinion, "it depends on the topic of the video". Really nice video Garett. Thanks.
@garrettlovetv4 жыл бұрын
This is great feedback, thanks! Thanks for watching.
@jw46594 жыл бұрын
Yes - I agree with this.
@melindauivari95374 жыл бұрын
Agreed
@dariusfathi55204 жыл бұрын
it's was a good deep explanation of what BuildContext is . thank you , and please do more like this !
@garrettlovetv4 жыл бұрын
Thank you thank you! Will do!
@Klazyo4 жыл бұрын
Thank you so much , u Explained perfectly so basically context is juste looking back in the parent context but not in its child and builder do just that . ITs always like that we don't understand something in programming and we abandon but when we find out it all looks so easy and stupid the whole frustration we were in
@ezalor95554 жыл бұрын
agreed
@taimoorghafar18682 жыл бұрын
Now I can explain BuildContext to anyone 😎😎 Thank you for such great explaination 💗
@tadaspetra Жыл бұрын
Awesome explanation. I knew what BuildContext was and knew to use Builder when it didn't work but this finally made it click as to WHY I had to do that. Thanks!
@mondomeccano Жыл бұрын
Excellent video. It's helpful to hear an explanation of WHY it is needed rather just what it is and how its used. Seeing the code written out is great because the video can be paused while the following the explanation.
@syslinebilisim4533 жыл бұрын
I really understood clearly what you were conveying. Thanks a lot.
@garrettlovetv3 жыл бұрын
Glad it helped!
@SteeveCabrel3 жыл бұрын
wow this just saved me hours of debugging. Thanks
@lezlee31374 жыл бұрын
this is it! kind of tutorials we missing ...thank you and please we need more
@kengreg013 жыл бұрын
Thanks a lot, people in courses and tutorials forget to explain little things like this , I am just starting to use dart/flutter and I didnt find anyone who explained about this but everyone uses it.
@azackmatoff25704 жыл бұрын
This might be the best tutorial/explanation I've seen... You should definitely keep making videos on different topics! thanks man!
@isaacfinley114 жыл бұрын
Suuuuuuper helpful. You should do more Flutter videos. Thanks Garrett.
@garrettlovetv4 жыл бұрын
You got it, thanks for watching!
@thinleyjimmydorji63964 жыл бұрын
Thank you, Garett. I had this doubt since ages, a very great explanation. I would like more of this kind of video.
@garrettlovetv4 жыл бұрын
You got it, thanks for watching!
@jajasaria3 жыл бұрын
Save me time in my future dev. Thank u
@raulcattelan45063 жыл бұрын
Thanks for the explanation
@mortenha69983 жыл бұрын
Great video Garrett. I'm just learing Flutter and Buildcontext is a tricky concept to understand.
@sarojmaharjan39864 жыл бұрын
Super clear and very effective explanation! Thank you so much! I prefer the code to be written already beforehand here in this CONTEXT.
@garrettlovetv4 жыл бұрын
Great feedback, Thanks for watching!
@lunaRdeltaY2 жыл бұрын
great explained!
@drsmiless4 жыл бұрын
Great video, instantly liked. I hope I am correct, just to add up, the method (class_name).of(context) is a simplified version context.inheritWidgetOfExactType(class_name).. basically, it says "find me the nearest widget up the widget tree that can provide me with this class_name"
@akashbansal62163 жыл бұрын
Need more for this kind of content..
@teen18pk163 жыл бұрын
easily understandable and nice explanation bro
@garrettlovetv3 жыл бұрын
Glad to hear that
@dhananjaygavali82663 жыл бұрын
Its great explanation about Buildcontext. It hard to understand for beginner but you make it easier. Can you please make video on setState() method and dispose() method to clear the instances
@angryprogrammer77883 жыл бұрын
Really good explanation but now we have ScaffoldMessenger and it will work even if you pass context as is, but thank you it really helped me clear alot things about BuildContext.
@owonubijobsunday47644 жыл бұрын
You earned a new subscriber :-) . Thanks for taking your time to explain. It meant a lot!
@garrettlovetv4 жыл бұрын
Thanks for the sub!
@rayanfernandes26313 жыл бұрын
Really good explanation dude... I understood context well enough!
@sachinsaini49724 жыл бұрын
Nicely explained bro Now I got what is really meant by buildcontext and the builder widget
@Ayrix063 жыл бұрын
Thanks Garret. Best explaination ever :) You made my day
@garrettlovetv3 жыл бұрын
Happy to help!
@murshidahamed83173 жыл бұрын
yes very good explanation thanks ah lot
@higorgustavobarbosadasilva96243 жыл бұрын
Uau...you are amazing....I'm from Brazil. Thanks a lot.
@garrettlovetv2 жыл бұрын
Thank you! 😃
@iansmith33013 жыл бұрын
You didn't explain why we can't use the existing context of the parent and pass it into the child, why do we need to make a new builder and new context??
@pfuhad37603 жыл бұрын
Thank you
@mauricio97833 жыл бұрын
The fu*** video i was looking for. Finnaly understanding all the shit i was doing without undestanding... thanks
@lifestylelifestyle3 жыл бұрын
thank u so much
@sepphashemi43243 жыл бұрын
u explained amazing bro amazing
@garrettlovetv2 жыл бұрын
Glad it helped
@balaganesh34404 жыл бұрын
Loved it...great explanation 💯
@garrettlovetv4 жыл бұрын
Glad you liked it!
@dip40404 жыл бұрын
you need more exposure.God!Your explanation is amazing.A 10 year old can understand.
@garrettlovetv4 жыл бұрын
Much appreciated, thank you!
@user-wr4yl7tx3w Жыл бұрын
why does the change of the second context to buildReturnContext makes sense? Just trying to understand which context it is now.
@demosongsheetmusic2 жыл бұрын
Great video! :) Nice explanation, with multiple different approaches, good job! At least for me, it's not a problem to have the code written out already, as long as you go through it. The only thing I didn't like in the video is the various flashing colors on you and in behind - I guess you have some kind of a fancy light in your room, but it might be better to turn if off while recording 😬 Thank you for the efforts!
@zond_amond4 жыл бұрын
Great video, thank you!
@albievids4 жыл бұрын
Thank you. This was a nice explanation
@garrettlovetv4 жыл бұрын
Glad it was helpful!
@vicyoslinuxofficial26073 жыл бұрын
That was the best explanation that I've seen so far! Thank you so much! +1 subscribe!
@amirhoseinazhdarnezhad91683 жыл бұрын
It was helpful. Thank you
@gauravbhardwaj7774 жыл бұрын
Great video and really hepls in understanding the concept .
@garrettlovetv4 жыл бұрын
Glad it was helpful!
@lakshandersagwal4 жыл бұрын
Hey bro, can u help me regarding this ?
@silinhuang73954 жыл бұрын
Thanks bro, great explaination!
@garrettlovetv4 жыл бұрын
Glad it was helpful!
@anjannarla78464 жыл бұрын
can you make a video which explains difference between foreach and map method with an example
@sudhapriyashrivastava6808 Жыл бұрын
How to use Scaffold.of(context).openDrawer(); to construct drawer?
@bartekpacia4 жыл бұрын
Awesome explanation, thanks! :D
@gishanabeysinghe9773 жыл бұрын
Thanks it helped a lot
@miladhesami66302 жыл бұрын
Hello, please Volume it up or use a microphone to produce quality voice
@CrazyOrdinal4 жыл бұрын
I wanted to create a global service that has a function with showDialog method which can be called from anywhere. So how can i determine which context is currently active in my app or to out it the other way, how to get the context of current widget on screen without having it pass it as a parameter ( which i have heard is not a good way )
@garrettlovetv4 жыл бұрын
I'm a really visual person so reading your comment I'm not sure. Is there anywhere I can see your code?
@CrazyOrdinal4 жыл бұрын
@@garrettlovetv No can do, its a corporate project. Can't share, but appreciate the effort. I will create a demo one for reference, till then context as a parameter it is
@harrywang67923 жыл бұрын
type it helps so much more
@jy009520774 жыл бұрын
so helpful,thank you !
@garrettlovetv4 жыл бұрын
Glad it was helpful!
@aspiresun4 жыл бұрын
great video !!
@garrettlovetv4 жыл бұрын
Thanks, glad you liked it!
@dennycad78593 жыл бұрын
thanks
@garrettlovetv2 жыл бұрын
Welcome
@Leotobonilima3 жыл бұрын
boa me ajudou muito, thx from brazil!
@octap1824 жыл бұрын
So I have a flutter ListView with an image picker in a column beneath the title and subtitle, but choosing an image opens that image in every tile instead of the one it was clicked from. How can I use context to only open the selected image in that specific tile it was called from, in the same vertical tree inside a card? I can not figure this out, I think it is impossible.
@ritvijsaxena72014 жыл бұрын
Send your code. Post a link here
@shunmuagapriya98773 жыл бұрын
Flutter upload new video bro. It's so good
@aashishmanandhar51883 жыл бұрын
talking while writing the code side wise ( explaining it) would be more helpful, imo
@garrettlovetv3 жыл бұрын
Noted, thanks for the feedback!
@chethansiqaandiostuff73654 жыл бұрын
I appreciate your efforts but it is still not clear to me.Yes it is clearer than before.May be you can come up with another analogy though whatever you gave in the video was ok,for me atleast.Nice voice by the way!!!!