Interesting video, I was looking for it. Just a little note: it would have been nice to explain well what is a "dependency" from widget's perspective, that triggers a didChangeDependencies call. Regarding deactivate, maybe its fired once the widget is removed from the tree, while the instance continues to exist? I'm thinking about a widget that is set to "hidden" visbility.
When you pass something through the constructor to a widget, that widget is depandant on that value. So in a sense it's that if a value changes hat is the same as saying that the dependency changes.
dispose not called memory like? are you insane my friend??? dart has garbage collector!!! it does not need you to dispose anything! with exception of resources which are not under dart control! VC is not one of them!!! you should dispose of timers, but why? well, the reason is, if you dont, when the timer comes back it may try to get ref to disposed object, and you will have a crash. I hate when people talking about "memory leaks" - it is plain crap!
Thanks for the video Man ✈️🚀🎉
That is awesome! Do you use all of them?
@@FlutterMapp I use the ones that I need depending on the scenario 😊
Interesting video, I was looking for it.
Just a little note: it would have been nice to explain well what is a "dependency" from widget's perspective, that triggers a didChangeDependencies call.
Regarding deactivate, maybe its fired once the widget is removed from the tree, while the instance continues to exist?
I'm thinking about a widget that is set to "hidden" visbility.
Yeah, the dependency part is a bit confusing.
Awesome video. A lot of things that I didn't know it
Glad it was helpful!
Great one !!
Excellent demonstration
This was widget lifecycle, can u do one on app lifecycle too?
Have an old video about it but thinking of updating it as a lot of people has been asking about it!
As far as I know, a Flutter App is a widget, that's stated in the doc :)
Thank you, please post more interview questions
Excellent 👏🏻👏🏻👏🏻👏🏻👏🏻
Thank you! 😃
I just wondering what is the different between dispose and deactivate.
Thanks for the summery!
please make tutorials of navigation 2.0.
Thanks for sharing! AWESOME!
very helpful ty
Deactivate is useful if you want to interact with bloc before disposing the widget
Thank you
thank you
great, thank a lot.
thanks you bro
Thanks, but what about the constructor of the state class?
great video as always
Thanks!
Something I have on my todo so certainly in the future 😊
What is dependency change?
When you pass something through the constructor to a widget, that widget is depandant on that value. So in a sense it's that if a value changes hat is the same as saying that the dependency changes.
great video
Good one
What's about "activate" life cycle?
what is the font name that you are using ?
firaCode
I am using JetBrains Mono!
@@RobertBrunhage didn't know mono got that ligature 😄
Excellent! Very helpful ,just if you can to make video for how to use huawei_map in Flutter thx
It's very good but the deactivate explication is not clear
Noted, if I come up with a good example I will update the Github Code!
where is the createState method?
How to write ≠ ?
Turn on code ligatures in vscode settings and install fira-code font or any other that support code ligatures
As Mohammad said, these is a setting in your ide or code editor for activating code ligatures. I am using JetBrains Mono and that activated!
dispose not called memory like? are you insane my friend??? dart has garbage collector!!! it does not need you to dispose anything! with exception of resources which are not under dart control! VC is not one of them!!! you should dispose of timers, but why? well, the reason is, if you dont, when the timer comes back it may try to get ref to disposed object, and you will have a crash. I hate when people talking about "memory leaks" - it is plain crap!
please make for 2023
uper is an indian?
so slow men x2 speed and still slow xd
Diserve Comment