Тёмный

Flutter Tutorial - Builder & BuildContext - Everyone should understand this - Deep Dive 

HeyFlutter․com
Подписаться 200 тыс.
Просмотров 25 тыс.
50% 1

Here is everything you need to know about the BuildContext & the Builder Widget in Flutter.
Click here to Subscribe to Johannes Milke: ru-vid.com...
- Source Code: github.com/JohannesMilke/buil...
- Buy My Courses: johannesmilke.teachable.com/p...
- Follow Twitter: intent/follow?ori...
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/JohannesMilke
SHARE | SUBSCRIBE | LIKE FOR MORE VIDEOS LIKE THIS
*********
SOCIAL MEDIA: Follow Me :-)
- Twitter: intent/follow?ori...
- Linkedin: / johannesmilke
- Github: github.com/JohannesMilke
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/JohannesMilke
CREDITS
Copyright song "Corporate Technology" by scottholmesmusic.com
#Flutter #Tutorial #JohannesMilke
LIKE & SHARE & ACTIVATE THE BELL
Thanks For Watching :-)

Наука

Опубликовано:

 

16 окт 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 66   
@tuberk
@tuberk 3 года назад
Just perfect. If every video of yours is as clear as this one, you will be my saviour.
@HeyFlutter
@HeyFlutter 2 года назад
Thank you, Tuğberk! 🙂 Sure I try to get better and better over time simply check out my Flutter playlist: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-HZD-0zgpuak.html
@FelexAndVirginia
@FelexAndVirginia 2 года назад
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
@bijayaadhikari442
@bijayaadhikari442 3 года назад
Brother, understanding the concept of builder context is so crucial that no other tutorial or article can explain like you did.
@3alemneUp
@3alemneUp Год назад
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.
@HeyFlutter
@HeyFlutter Год назад
Glad I could be of help, You are welcome علمني اب - 3alemneUP! 😊
@pk0847
@pk0847 3 года назад
I waited for this video so long... and finally it's here Thanks a lot
@KnO1951
@KnO1951 2 года назад
You make these very easy to understand. Kudos!!
@sankethb.k642
@sankethb.k642 2 года назад
I never really understood how context works before this. Thanks a lot!!
@shivarajsajjan3000
@shivarajsajjan3000 3 года назад
So nicely explained!! 🙏 Keep doing your great work always!! ❤️
@sadunozer2241
@sadunozer2241 3 года назад
Seems I finally found someone I can listen to
@MustafaAliraqii
@MustafaAliraqii 3 года назад
That was crystal clear. Thank you very much.
@fayezalle43
@fayezalle43 2 года назад
Thank you. Very particular & clear explanation.
@oswaldoolea2889
@oswaldoolea2889 Год назад
very important subject out of the typical flutter tutorials, outstanding learning material! thanks.
@HeyFlutter
@HeyFlutter Год назад
You’re most welcome, Oswaldo Olea! 🙂
@quentinklein1338
@quentinklein1338 2 года назад
Amazingly well explained
@meetpanchal1393
@meetpanchal1393 3 года назад
I have My Interview today on flutter ,this helped me thanks!
@Ayrix06
@Ayrix06 3 года назад
Johannes you made my day - Thanks a lot :)
@higorgustavobarbosadasilva9624
@higorgustavobarbosadasilva9624 2 года назад
You are right, every one should understand this!!!!
@leonardomaia7661
@leonardomaia7661 2 года назад
tk you so much!!! finally a good explanation!!
@abidhasansnigdho
@abidhasansnigdho Год назад
Crystal clear! Thanks man ❤
@HeyFlutter
@HeyFlutter Год назад
You are welcome, Abid Hasan!
@lovenangelo5415
@lovenangelo5415 2 года назад
Very nice explanation
@spinoff2011
@spinoff2011 2 года назад
Great content. Thanks!!!
@peterbk364
@peterbk364 2 года назад
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
@TheAzmi009
@TheAzmi009 3 года назад
Great examples!
@mikoaj1954
@mikoaj1954 2 года назад
good explaination!
@MohitKumar-kh6mv
@MohitKumar-kh6mv 3 года назад
Awesome Awesome explanation
@sumanpokharel1718
@sumanpokharel1718 3 года назад
thank you man!!subbed.
@toblamabor7072
@toblamabor7072 Год назад
Bro you are amazing thank you!!
@HeyFlutter
@HeyFlutter Год назад
You’re most welcome, Tobla Mabor! 🙂
@ryzzzin
@ryzzzin 2 года назад
thank you!
@elmarcabbarl2312
@elmarcabbarl2312 3 года назад
do u know that you are the best. thank you for this explanation.
@shikharagarwal8769
@shikharagarwal8769 Год назад
Perfect, Just Perfect!!!
@HeyFlutter
@HeyFlutter Год назад
Thank you, Shikhar Agarwal! 🙂
@abrorshamuradov1572
@abrorshamuradov1572 2 года назад
you are the best
@MangJanong
@MangJanong 2 года назад
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!
@HeyFlutter
@HeyFlutter 2 года назад
Thank you, SuperChainMan! Check out this video about state management: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-l3KnuUmlr-w.html&ab_channel=JohannesMilke
@surajsuryawanshi7835
@surajsuryawanshi7835 Год назад
great video.
@HeyFlutter
@HeyFlutter Год назад
Thank you, Suraj Suryawanshi! 🙂
@bezawadabharat3075
@bezawadabharat3075 3 года назад
Thanks bro
@ajithr1458
@ajithr1458 Год назад
at last I found a good explanation.
@HeyFlutter
@HeyFlutter Год назад
Great, Thank you AJITH R!
@user-wr9ff4wl4o
@user-wr9ff4wl4o 2 года назад
thx! great!
@HeyFlutter
@HeyFlutter 2 года назад
You are welcome, Роман Сергеевич!
@user-rp7xx7xo2z
@user-rp7xx7xo2z Год назад
amazing
@HeyFlutter
@HeyFlutter Год назад
Thanks, @user-rp7xx7xo2z! 🙂
@mkhwanazicebo4448
@mkhwanazicebo4448 Год назад
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😟
@HeyFlutter
@HeyFlutter Год назад
Thanks, for your support, Mkhwanazi cebo! 🙂
@sarathkumarg5220
@sarathkumarg5220 Месяц назад
❤ from India
@eNONO-ot4zh
@eNONO-ot4zh 3 года назад
thank Johannes. How to fix "Looking up a deactivated widget's ancestor is unsafe" once forever ? thank you in advance
@HeyFlutter
@HeyFlutter 2 года назад
This might help you :) Todo App Tutorial: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-CQZr-GXe__Y.html Build A Chat App Tutorial: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-wHIcJDQbBFs.html Social App Design: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-PvDOgOdUgkU.html Tinder Clone UI Tutorial: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-v1wofhoutBk.html
@samuelsantos
@samuelsantos 3 года назад
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!
@HeyFlutter
@HeyFlutter 2 года назад
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.
@scholarship216
@scholarship216 3 года назад
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
@HeyFlutter
@HeyFlutter 2 года назад
Thank you Scholar Ship! 🙂 The purpose of the Builder is only to supply you with a Build Context. Or what do you mean?
@lcarv20
@lcarv20 2 года назад
Nice video and explanation. However … you use opera, that surprised me the most xD. Best of Luck
@JakBeat
@JakBeat 2 года назад
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
@HeyFlutter
@HeyFlutter 2 года назад
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 🙂
@kavin.kumar2122
@kavin.kumar2122 3 года назад
please make some more bloc videos
@HeyFlutter
@HeyFlutter 2 года назад
Thanks Encyclopedia, sure I can however did you try already Riverpod: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8H3bwxxla4Y.html This is a new & trendy state management
@BrendansReasons
@BrendansReasons 2 года назад
so Build is a shortcut to getting a closer context
@HeyFlutter
@HeyFlutter 2 года назад
Thank you, Brendan Chatt! 🙂. You could learn more about flutter architecture here: flutter.dev/docs/resources/architectural-overview
@alexeyantonenko877
@alexeyantonenko877 2 года назад
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
@alexeyantonenko877
@alexeyantonenko877 2 года назад
@@HeyFlutter Thanks a lot!
@HeyFlutter
@HeyFlutter 2 года назад
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 🙂
Далее
Flutter Tutorial - Flutter Circle Avatar
9:22
Просмотров 16 тыс.
Understanding BuildContext in Flutter
12:26
Просмотров 31 тыс.
Спецэффекты в Симс 4
00:36
Просмотров 247 тыс.
다리에 힘이 풀려버린 슈슈 (NG Ver.)
00:11
Просмотров 2,5 млн
Flutter FutureBuilder | The Right Way
7:02
Просмотров 34 тыс.
Flutter Tutorial - InkWell - DeepDive & Advanced Shape
15:06
Every Flutter App needs this!
10:15
Просмотров 54 тыс.
What is BuildContext | Decoding Flutter
12:23
Best 30 Flutter Widgets, Packages & Tips
5:11
Просмотров 118 тыс.
🖥📱RESPONSIVE DESIGN • Flutter Tutorial
8:03
Просмотров 272 тыс.
100+ Linux Things you Need to Know
12:23
Просмотров 773 тыс.
Flutter framework code review: BuildContext & Element
1:10:42
Wylsa Pro: опять блокировка YouTube?
17:49
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
Игровой Комп с Авито за 4500р
1:00