ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Flutter Tutorial - Builder & BuildContext - Everyone should understand this - Deep Dive
ฝัง
- เผยแพร่เมื่อ 16 ต.ค. 2020
- Here is everything you need to know about the BuildContext & the Builder Widget in Flutter.
Click here to Subscribe to Johannes Milke: www.youtube.co...
- Source Code: github.com/Joh...
- Buy My Courses: johannesmilke....
- Follow Twitter: in...
Resources:
Todo App Tutorial: • Flutter Tutorial - 1/3...
Build A Chat App Tutorial: • Flutter Tutorial - Bui...
Social App Design: • Flutter Tutorial - Soc...
Tinder Clone UI Tutorial: • Flutter Tutorial - Tin...
-- JOIN THE CREW --
bit.ly/Johannes...
SHARE | SUBSCRIBE | LIKE FOR MORE VIDEOS LIKE THIS
*********
SOCIAL MEDIA: Follow Me :-)
- Twitter: in...
- Linkedin: / johannesmilke
- Github: github.com/Joh...
PLAYLISTS
- All Flutter Videos: • Flutter Tutorial - Tex...
- Widgets - Flutter: • Flutter Tutorial - Sel...
- Plugins - Flutter: • Local Push Notificatio...
- Animations - Flutter: • #12 - Flutter Advent -...
- Designs - Flutter: • Flutter - Screen Desig...
If you find this video useful, LIKE & SHARE this video to help other people who also learn Flutter :)
bit.ly/Johannes...
CREDITS
Copyright song "Corporate Technology" by scottholmesmusic.com
#Flutter #Tutorial #JohannesMilke
LIKE & SHARE & ACTIVATE THE BELL
Thanks For Watching :-)
Just perfect. If every video of yours is as clear as this one, you will be my saviour.
Thank you, Tuğberk! 🙂 Sure I try to get better and better over time simply check out my Flutter playlist: th-cam.com/video/HZD-0zgpuak/w-d-xo.html
excellent explanation... after reading through a lot of articles without grasping the meaning behind context, I finally understood thanks to you Johannes, Thank you very much.
Glad I could be of help, You are welcome علمني اب - 3alemneUP! 😊
Hahaha 😂 😂 😂 😂 oooh my God why was struggling with Build context ? Because i didn't have a good teacher until now.... Thanks keep up the good work man hands to head salute
Brother, understanding the concept of builder context is so crucial that no other tutorial or article can explain like you did.
Seems I finally found someone I can listen to
I never really understood how context works before this. Thanks a lot!!
I waited for this video so long... and finally it's here
Thanks a lot
You make these very easy to understand. Kudos!!
You are right, every one should understand this!!!!
This should be studied sooner...
i was facing the issue "At this point the state of the widget's element tree is no longer stable."
so need to go back to basic....
thankyou Johannes sir for this awesome conceptual video
Thank you. Very particular & clear explanation.
very important subject out of the typical flutter tutorials, outstanding learning material! thanks.
You’re most welcome, Oswaldo Olea! 🙂
Amazingly well explained
That was crystal clear. Thank you very much.
Very nice explanation
tk you so much!!! finally a good explanation!!
I have My Interview today on flutter ,this helped me thanks!
Crystal clear! Thanks man ❤
You are welcome, Abid Hasan!
So nicely explained!! 🙏 Keep doing your great work always!! ❤️
Awesome Awesome explanation
Johannes you made my day - Thanks a lot :)
at last I found a good explanation.
Great, Thank you AJITH R!
good explaination!
Great content. Thanks!!!
Perfect, Just Perfect!!!
Thank you, Shikhar Agarwal! 🙂
I just do not think there is anybody who explains flutter so great like this guy, aah why has google not hired you to join their flutter team man😟
Thanks, for your support, Mkhwanazi cebo! 🙂
❤ from India
Bro you are amazing thank you!!
You’re most welcome, Tobla Mabor! 🙂
do u know that you are the best. thank you for this explanation.
thank you!
you are the best
great video.
Thank you, Suraj Suryawanshi! 🙂
Great examples!
Excellent explanation!
The only thing I don't get is: If every widget has its own context, why this whole thing works? I mean in the first example why calling the "Scaffold.of" doesn't work if "Raisedbutton" has its own context? Or even more complex, imagine a "Container" and the "Raisedbutton" inside it. Shouldn't the "Scaffold.of" works since "Container" is above it and has "context"? I know it doesn't but don't know why. Thanks!
Thanks, Samuel! 🙂 We are never using the context of the RaisedButton since we cannot access it and it is inside of the RaisedButton Widget. The main point about BuildContext is that you need to use the BuildContext under the widget that you want to access such as demonstrated at 3:04.
At 1:40 it is demonstrated why you cannot use the MainPage BuildContext since it is on top of the Scaffold in the widget tree, and therefore you cannot access the Scaffold.
thank you man!!subbed.
Hi, i love your videos, i learned about context clearly from you.
Can you please make also a video about state management in the way you explain about context.
Thank you and more power!
Thank you, SuperChainMan! Check out this video about state management: th-cam.com/video/l3KnuUmlr-w/w-d-xo.html&ab_channel=JohannesMilke
thx! great!
You are welcome, Роман Сергеевич!
amazing
Thanks, @user-rp7xx7xo2z! 🙂
Thanks bro
Nice video and explanation. However … you use opera, that surprised me the most xD. Best of Luck
thank Johannes.
How to fix "Looking up a deactivated widget's ancestor is unsafe" once forever ?
thank you in advance
How do I get the current context used? I'm triggering overlay notifications from a provider that needs current context in order to display overlay notifications he is managing
Thank You Sara Ttbb! Follow this link: stackoverflow.com/questions/50246019/how-to-get-the-current-context-in-flutter
I hope you will get your answer 🙂
thank for your teach but I have a question is can we name that is the builder function doing as link between the top and buttom
Thank you Scholar Ship! 🙂 The purpose of the Builder is only to supply you with a Build Context. Or what do you mean?
This might help you :)
Todo App Tutorial: th-cam.com/video/CQZr-GXe__Y/w-d-xo.html
Build A Chat App Tutorial: th-cam.com/video/wHIcJDQbBFs/w-d-xo.html
Social App Design: th-cam.com/video/PvDOgOdUgkU/w-d-xo.html
Tinder Clone UI Tutorial: th-cam.com/video/v1wofhoutBk/w-d-xo.html
please make some more bloc videos
Thanks Encyclopedia, sure I can however did you try already Riverpod: th-cam.com/video/8H3bwxxla4Y/w-d-xo.html This is a new & trendy state management
so Build is a shortcut to getting a closer context
Thank you, Brendan Chatt! 🙂. You could learn more about flutter architecture here: flutter.dev/docs/resources/architectural-overview
Raised button seems to be deprecated now. So, I used the Elevated button instead. But here is an error with the Snackbar: "The method 'showSnackBar' isn't defined for the type 'ScaffoldState'."
I tried ScaffoldMessenger.of(context).showSnackBar() and it works, but independently of "builder" exists of not for the scaffold
@@HeyFlutter Thanks a lot!
Thank You Alexey Antonenko! Follow this link: stackoverflow.com/questions/68011487/the-method-showsnackbar-isnt-defined-for-the-type-buildcontext
I hope you will get your answer 🙂