Life of a Widget?! | Decoding Flutter

preview_player
Показать описание
Do widgets have lifecycles? What is a widget, exactly? Learn all this and more as we explore what widgets are and how they fit into the Flutter framework.

Leave us suggestions for code to unravel in the comments below!


#DecodingFlutter #Flutter #Developer
Рекомендации по теме
Комментарии
Автор

I think when most flutter devs talk about "lifecycle" they really mean the lifecyle of Elements, because we do use methods such as "initState" and "dispose" etc. So while this video is "technically correct" (which is the best kind of correct), it's not exactly on point to address those questions :|

c
Автор

After opening 20 tabs in attempt to understand widget lifecycle today, they post this and it's not even detailed :(
I suppose their mindreading abilities are not omnipotent

sibylsystems
Автор

It's still a popular question on the interviews. I always try to tell them that there is no lifecycle but they just count is a wrong answer. One of them even started explaining me why I'm very wrong thinking that there is no lifecycle

bbzz
Автор

That cake analogy was too abstract... Am I the only one who expected something more technical?

dephinera
Автор

that was a kind of abrupt end at the end :D maybe a little bit more transition with the bg-music :)

rebarius
Автор

Cool title Sound! Like from Santa Barbara series 1984

tvkhpcs
Автор

Nice video. But how about widgets that extends StatefulWidget, do they have a lifecycle(since you can override initState, dispose, etc) ?

franklinoladipo
Автор

I have React base. So you only write recipes of each part of the cake. Flutter is the baker, he takes the recipes and bake the whole cake for you (cake now is a set of widgets) and when it's done, it's done. If you need to change the recipe, the baker will examine the recipes and bake parts of cake that need to be 're-bake' and replace with the old version of it from the cake. So widget doesn't have life cycle, butt they can be re built by flutter. Am i right?

thangwss
Автор

Out of topic but i got uncomfortable when seeing animation at 2:05 😂

iilhamwd
Автор

He said in last time, "Widget is either build, rebuilt or not used at all".
Anyone explain why he said "not used at all"?
I guess it means if the widget is already built once then it located in memory and displayed by variable state.
Do I get it?

larsien
Автор

Make installation Of futter smooth and flexible like installation of all files in other drive in just on folder with nested folder. Give options to completely installation of gradle, SDK, emulator, plugin in one folder with flexibility to choose drive.

thephenomenal
Автор

Don't we learn this pretty nearly out of the gate when first learning about flutter? The problem is the subtle code-interactions between the immutable Widgets and the underlying mechanisms that are explained in impenetrable engineer-speak in the docs. Really I would like to read the source to get a handle on it, but the source is practically unreadable due to the amount of asserts. The flutter plugins to Android Studio etc need a "hide asserts" option.

francisgeorge
Автор

Flutter is very intuitive for a React developer like me

Smongo
Автор

Aren't the videos in this playlist in reverse order? The last video in the playlist is "Introducing Decoding Flutter".

hygbnpj
Автор

so Element is responsible for rebuild and update state

youdube
Автор

Me gustaría una forma de que mi aplicación recibiera eventos desde YouTube, ¿alguien me puede ayudar?

yosoydeux
Автор

We might understand it well if we came from Android or iOS

UsamaKarim
Автор

Kind of Right. But incomplete.
Widgets are immutable but element is mutable and kind of lifecycle of widget

zulfiqarawan
Автор

I'm gonna have to say no to this jingle

BrendansReasons