Of all the videos in the series, I feel like I've started with the most complicated! :)
@AslamShaik
4 жыл бұрын
😁
@ArshdeepSingh-ob7rj
3 жыл бұрын
Yeah That's true, Everything went above my head
@4petsapp295
3 жыл бұрын
kzitem.info/news/bejne/pI6byqWDpX6gaoI
@s-sugoi835
3 жыл бұрын
Lmao
@anirudh7455
3 жыл бұрын
Go to flutter.dev for beginner
@pradeep422
5 жыл бұрын
Now we talking!!!!!! Most advanced and productive video in this series!!!!!!
@AlexanderArendar
4 жыл бұрын
))) yeah, that should be one of first stuff in any book/tutorial, otherwise it is easy to miss the existence of topic and be surprised with strange "bugs" later :)
@nested9301
3 жыл бұрын
advanced ? LOL,
@nosmirck
5 жыл бұрын
I'm not sure if I'm 100% correct, but another useful use of keys (that I've encountered) is finding specific Widgets during Widget Tests and UI Tests. Let's say you're loading the current temperature, you want to know if it rendered, you don't care about the actual reading but that the actual widget holding the value is rendered. In this case, Keys are very useful (unless I'm doing it wrong and there's another way to identify Widgets during Widgets and Integration Tests)
@jatingoyal6682
Жыл бұрын
This is the best explanation any student could have asked for, literally the best teaching video and analogy for me in my entire life, thanks a lot Emily
@RinaldiMeteoric
4 жыл бұрын
I'm really happy about choosing Flutter to develop my app. It has been 3 weeks since I've started learning flutter and videos like this really clarify and take out the struggle of understanding documentations. Thank you very much Flutter team.
@KaranChecker
5 жыл бұрын
I to be honest didnt catch the usage entirely. The concept of the various keys .. yes, but not the usage. A slower more hands-on tutorial video would surely help.
4 жыл бұрын
@Kalsang Dorjee You shouldn't develop software if that is the level of your imagination. Passing from a static element to one you can modify programmatically is a massive change. There is no way to do that if you do not have a particular identifier for each element.
@hts746
4 жыл бұрын
I believe some provided code would make life easier 4 everyone. But Video explains is pretty nice
@EmilianoKalafatic
4 жыл бұрын
@ oh oh sorry Mr 180 IQ lvl. We have different ways to "imagine" something or to understand things. Maybe you shouldn't be so "narcissistic"
@softwarecodecs2534
4 жыл бұрын
@Kalsang Dorjee Same didn't get anything ,can you explain if you got it
@DarDarbl4
4 жыл бұрын
Keys are kind of IDs, to differ elements and map between widjets tree and Element Tree, and in case of Global Key like a link to the concrete element State object, this global key provide access to the State to some Element from widget's code.
@devonedmonds9223
5 жыл бұрын
Documentation for keys was not very clear. Finally some clarity!
@abhishekpandey4133
5 жыл бұрын
Absolutely right
@william_chidube
3 жыл бұрын
No documentation is ever very clear. lol
@noahderebe
2 жыл бұрын
The most clear explanation of Keys currently online!!!!
@amugofjava
5 жыл бұрын
Really helpful video as I never fully understood when to use keys.
@jajasaria
5 жыл бұрын
All i understood is that when changing list order the rest is .......
@xhunter91
5 жыл бұрын
@@jajasaria When you change a list's order of one type. They are not needed when the list has distinct types.
@yamsani735
2 жыл бұрын
This video has actually helped me to fix one of the issue I have in my application because of not properly managing the widget keys.
@subtex
5 жыл бұрын
Excellent video. Really appreciate some more in-depth videos like this, while still being short enough to not be an major investment in time to watch it.
@OttoAkama
3 жыл бұрын
Is this valid June 2021? Right now, you just can't can't use keys without VSCode turning your code bloody red.
@yangxu653
4 жыл бұрын
I'm confused. StatelessWidget has same type after swapped, why color changed?
@thisispax
4 жыл бұрын
(2:25) IIUC, StatelessWidget has the color "within" the widget and it does update the reference to the new widget (3:11) that's why you'd see the colors "swap". In a StatefulWidget, the "color" is in a *State object* and not in the widget instance itself. That's why updating the reference (just as how Flutter did with Stateless because the widgets are the same type) will not mean that the color will change since the color is in a "State Object"
@karladuran2819
2 жыл бұрын
@@thisispax thank u :)
@teukuyusransyahtandi723
5 жыл бұрын
5:29 my sleepiness goes away.
@JoaoVictor-ir3yu
4 жыл бұрын
kkkkkkkk I was scared
@noway4517
4 жыл бұрын
Good tactic to use in the middle of a speech to get the attention of the audience back. But I don't know whether that would be a good idea for the presentation of a university thesis. o0
@KevinSheppard
5 жыл бұрын
Speaking of keys, who did the keying for this video? I can see the bluescreen you recorded in front of
@darish155
5 жыл бұрын
@@emilyfortuna2262 hahaa😂
@KevinSheppard
5 жыл бұрын
@@emilyfortuna2262 I get the (totally unnecessary) sarcasm, but I'm just saying it wasn't up to the high standard I'm used to seeing from the channel. Upon review, though, it looks like it was your ear rings. My mistake.
@joaopedromartins573
4 жыл бұрын
That's exactly what I nedded! Thank you guys!
@ajk7151
4 жыл бұрын
this series is very good. please try and conitnue it. thanks
@NextGenerationEdit
5 жыл бұрын
More in depth tutorials like that! Great video!
@faisalbahli
4 жыл бұрын
Meredith from the office to flutter team, nice!
@CarlitosVJ1
4 жыл бұрын
Hi Emily! Thanks for sharing in such an understandable way!
@gautambedi591
Жыл бұрын
Very nice explanation. Loved it
@urbanmarci
6 ай бұрын
Overall good video, but a bit misleading: You don't need UniqueKey() for the tile swap example, a simple ValueKey(1) and ValueKey(2) will do.
@mahmud-ahsan
4 жыл бұрын
Thank you great discussion about keys. Keys are a bit complicated topic specially when to use. Once one started developing apps he will understand how and when to use keys in widgets.
@marxman1010
3 жыл бұрын
Here is the source of the PositionedTiles example. gist.github.com/efortuna/e7c19ba78cbeda0ff2772060bc639b6d And explained here. medium.com/flutterdevs/keys-in-flutter-104fc01db48f
@OumSaokosal
5 жыл бұрын
I spent 8:27 minutes to find PageStorageKey, which is very important.
@jajasaria
5 жыл бұрын
can you explain why this is so important?
@KlausRies
5 жыл бұрын
Very informative and entertaining. Awesome.
@smithahn4959
4 жыл бұрын
good! I fix my problems thanks to this video.
@andreavendrame7217
5 жыл бұрын
These Google series are fantastic, but they will still be fantastic even if you put less humor. Google doesn't need lot of fun to be interesting and simple 😉
@oswaldoolea2889
Жыл бұрын
first, would be nice if updated to nullSafety if you want to keep it online, second, if you put the code on a repo it would help a lot, third, this shuldn't be a 101 introductory video type, but farther into learning flutter...
@thenifemi
5 жыл бұрын
Emily Fortuna 💯
@iamdavidwparker
5 жыл бұрын
Yup!
@SafdarAliShah_TimeTraveler
5 жыл бұрын
Amazing Lecture
@balaji-venkatraman
4 жыл бұрын
Is there any code snippet available to check?
@MikeDownes
5 жыл бұрын
really useful thanks, well scripted too .. \o/ ..
@AaronSurty
5 жыл бұрын
Love the energy of this video! All Google developer videos should be this way. :) Is there a link to the change colors app you created for this demo?
@HuuTran-rk9hk
5 жыл бұрын
nice video! It's helped me very very lot.
@michelfeinstein
5 жыл бұрын
UniqueKey should be more explained.... It sounds like a random number, but by the video it isn't
@vinayak186f3
3 жыл бұрын
My brain just exploded 😮
@SomtoOfonagoro
5 жыл бұрын
Very helpful !!
@MarkRonnelCamilon
5 жыл бұрын
Very well said.
@FidelGuajardo
5 жыл бұрын
Thank you! Cool stuff!
@ivanyoed
3 жыл бұрын
Great vid 👌
@coroutinedispatcher
5 жыл бұрын
So on the case of stateful widgets they do swap, but just the state can't be handled.
@AliRaza-cs5go
3 жыл бұрын
Loved the way you explained it Emily. The explanation was damn easy to understand. Thank you so much for your efforts Flutter Devs.
@sufyansajid550
3 жыл бұрын
where are u from brother?
@mb77mb66
Жыл бұрын
You like Emily's soul.
@keep
5 жыл бұрын
Any update on dedicated KZitem channel for Flutter?
@djminikin
5 жыл бұрын
Thank you!
@govindkothari7989
4 жыл бұрын
nice one!!
@leonvanrijswijk8409
4 жыл бұрын
Good explanation, but does this has to be this complicated?
@rarogcmex
Жыл бұрын
I don't know how many I don't know. But that's fine~
@MapMavericks
5 жыл бұрын
Less bell blaster please 🤣. I think it blew my eardrums to Mars. Gonna have to wait a few years for humans to inhabit the planet to actually find out. Luckily, most KZitem videos have captions now, so I got that going for me. Keep the great vids coming!... with less bells please. 😁
@thenone339
4 жыл бұрын
but both tile elements are in same level why flutter widgetToElement algorithm can't find a match ?
@sanjeevnarayan7367
4 жыл бұрын
Thanks
@trocchiettoski
4 жыл бұрын
A key opens a door, but also if you have an entire building (you rich) you need different keys to enter in every door. So the key MARK the door, the key mark the STATE of the application, so imagine from now on that the key is a colored post it. A Key is like your ID number, patent number, telephone number, well you got the concept. Now imagine I am a magician and can shuffle all the doors and houses magically, with the Key I can still open my door. In flutter you have a lot of refreshing widgets going on. A Key identifies the door/widget so if you have instead of the door fixed like in the 99 per cent boring houses in the world, they remain there (stateless) you do not need the colored post it, but if the magic shuffling(stateful) is taking over you want to have the post it to identify where you have to go
@moazelsawaf2000
4 жыл бұрын
Thanks...
@cas818028
2 жыл бұрын
I think I got all this, so just use react native?
@serbonaapplications2149
3 жыл бұрын
video starts at 09:09.
@rodinsuniga5549
4 жыл бұрын
Want that Flutter T-shirt... (sighs)
@maxamedsuldanchannel1610
7 күн бұрын
ok
@aarushnagar3062
5 жыл бұрын
Yeahhh
@alurma
Жыл бұрын
I did not understand this explanation
@kirill4531
5 жыл бұрын
frankly speaking looks like crutches for Flutters shortcomings :\
@geniusblue4421
5 жыл бұрын
Please give me flutter team email! I want send feedback.
@pillaridha
5 жыл бұрын
oh no.,,. i didnt understand :( .,., im too stupid for this T-T
@WikkiOnIlluminati
5 жыл бұрын
Confusing concept.
@ramabaito
3 жыл бұрын
Silly presentation way 👎👎
@Alex343e_2.0
5 жыл бұрын
First
@marcom.
2 жыл бұрын
What a mess...
@husseinwalidqudsi2776
4 жыл бұрын
Thank you, here's the link for the simple PositionedTiles app: medium.com/flutter/keys-what-are-they-good-for-13cb51742e7d.
@lucasyoung9594
4 жыл бұрын
Angela just sent me here through her flutter bootcamp course. And seriously the Flutter team ROCKS!! Very clear, fun and helpful! Thanks Flutter Team and Emily for this video!
@alexjoyel355
Жыл бұрын
am also learn in her course.
@vishalgupta7522
Жыл бұрын
angela sent me here
@greatestuff
5 жыл бұрын
That was super helpful! I really appreciate the detailed explanation of value, global, object, unique keys. I also appreciate the comment about not using random numbers ..it really shows that they are helping people avoid common stumbling blocks. Thanks Flutter Team! Keep up great work! Love these videos. She makes a comment about the BLOC pattern at the end, I would love to see a dedicated video or series of these types of preplanned and well-polished videos on that pattern.
@harry356
2 жыл бұрын
What problem do keys solve? I cannot make anything from this video...
@chrisstromberg6527
2 жыл бұрын
@@harry356 You are not alone.
@akperheogheneovo4954
2 жыл бұрын
@@harry356 actually hands on codes will have make one understand better. But the concept is something one has to be aware of not to continue debugging forever.
@mb77mb66
Жыл бұрын
No... this sucks in Flutter, this is us having to know about Flutter engine implementation details.
@korovka
2 жыл бұрын
This doesn't make sense. At 1:29, why would two StatelessColorfulTile() widgets have different colours? Aren't they suppose to be identical?
@YTSliv
5 жыл бұрын
Effort appreciated. A very simple concept but confusingly explained. X(),X(),... X() * 100 Shuffle them X(),X(),... X() * 100 Renderer see no change, there is no effect because things are not ordered shuffle have no meaning. The key prop makes X-1(), X-2(), ... X-100(), shuffle, X-57(),X-2(),...X-3() now some part changed, re-render, note X-2 will be reused in such case since the prop is the same, so a best practice is item.id and each key should be unique.
@jiren8991
4 жыл бұрын
Thanks bro, for explaining in this way
@yashrajsingh8181
3 жыл бұрын
Awesome explanation!
@emine4584
4 жыл бұрын
Please share with us source code of video , it becomes more understandable .Thank you
@sergey_molchanovsky
2 жыл бұрын
8:30 we need a code example. I'm struggling with GlobalKey, getting an error "multiple widget in the tree with the same GlobalKey".
@phamucmanh1750
2 жыл бұрын
Amazing, just to being persist and enlightenment
@sanketsahasrabudhe8106
4 жыл бұрын
Emily Fortuna can teach instructors all over the world on how to make a video a thousand times more interesting! Great job Flutter Team! Keep more videos coming❤️
@gregsullivan7408
Жыл бұрын
Not my bag at all - I prefer a much more dry presentation - it's like she's doing an infomercial. IMHO.
@vicmath1005
10 ай бұрын
@@gregsullivan7408 Absolutely agree Greg. What a sickening drama of the presenter. That drama stops me from absorbing the message. I am forced to rewind at every sentence a COUPLE of times.
@gregsullivan7408
10 ай бұрын
@@vicmath1005I like the "Net Ninja" - excellent teacher/presenter
@leanghenglim
2 жыл бұрын
Why wouldn't the framework just use keys by default and under the radar so we wouldn't have to worry about it? Is it bad for performance?
@zeccy337
5 жыл бұрын
Hey thanks so much for these videos, i'm trying to use flutter and dart for a school project and this is great
@gustavoalejandrocanulmena3301
8 ай бұрын
What has your path as a developer been like for you? I'm learning too, What do you recommend I learn to follow my path?
@tomgrin10
4 жыл бұрын
THIS WAS EXACTLY WHAT I NEEDED YESSSS
@jumasayeh4574
4 жыл бұрын
again why isn't this done automatically ? generating unique keys for each widget doesn't sound like an intensive task for the mobile to handle.
@laujimmy8635
4 жыл бұрын
Don't really understand the example on how the GlobalKey works with the password.
@Trancecend
5 жыл бұрын
I need a practical example that details how the GlobalKeys use case at 8:31 is supposed to be structured.
@candlelight4693
4 жыл бұрын
It's keeeeeeeey tiiiiiiiiiiiiiiiiiiiiiiiiiiiiiime : ) like It !!
@josephputra2987
2 жыл бұрын
Where can i get the code😁
@muhammadidrees9683
5 жыл бұрын
I need a flutter shirt ☹️
5 жыл бұрын
Me too
@梅清-j5n
5 жыл бұрын
Some here.
@Zahiros
4 жыл бұрын
flutter shirt and a girl learned flutter 😅
@JumpinJackF
4 жыл бұрын
Content of the video as text including the code can be found here: medium.com/flutter/keys-what-are-they-good-for-13cb51742e7d
@alimahdi6379
5 жыл бұрын
Element-tree my dear Watson.
@danvilela
5 жыл бұрын
Finally i could understand this! Thanks for the video, very educational!
@milefiori7694
3 жыл бұрын
I don't get it, the stateful widget I just made still swapped correctly without me specifying the key. Is this tutorial outdated?
@citamediasolusindo3784
4 жыл бұрын
Anyone can share the complete sourcecode in this tutorial?
@walidellhamdi
4 жыл бұрын
It's great but i didn't understand!
@harry356
6 ай бұрын
I have watched this video 3 times, once at the start of my flutter development, once one year in, and now two years in. Still do not understand it fully and why I need it in a certain spot in my widget tree. I do get that flutter stores an cheap element tree to quickly look up if the tree has changed. That probably fits into L1 cache.
@lecu
11 күн бұрын
yes
@erdemeker425
4 ай бұрын
Design a bad framework, then create a false expertise in its ridiculous details.
@jagdishshetty4782
5 жыл бұрын
Great explanation !!! Thx for the tutorial !!!
@victoremeka
Жыл бұрын
Not me fully understanding this after two days of absolute confusion. Best way to learn anything is to put it into practice.
@mohamedmirghani1747
4 жыл бұрын
Coming for Maximilan Course :)
@shaadattar1072
3 жыл бұрын
Why to use global key in form widget
@LaunchpadMediaGroup1
5 жыл бұрын
Can you get Emily to explain the entire flutter system from A-Z using this format? Thanks
@TheFlutterHub
4 жыл бұрын
i am Google Developers
@shahidbangash4778
Жыл бұрын
TO be honest , Worst way to explain and I am more confused about KEYS
Пікірлер: 252