All language subtitles for 25. A Brief Look Under The Hoodf

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:02,310 --> 00:00:09,120 Now with our stateful widget added, it's important to have a brief first look. I'll later to have 2 00:00:09,120 --> 00:00:15,450 a more detailed look but a brief first look at what Flutter actually does when set state is executed 3 00:00:15,450 --> 00:00:22,860 here. Set state is a function that forces Flutter to re-render the user interface, however not the entire 4 00:00:22,860 --> 00:00:24,950 user interface of the entire app, 5 00:00:25,020 --> 00:00:31,350 instead what set state does in the end is it calls build again of this widget where you call set 6 00:00:31,350 --> 00:00:32,410 state. 7 00:00:32,550 --> 00:00:36,550 Now in our case, that is almost the entire app, MyApp, 8 00:00:36,540 --> 00:00:40,300 this widget here with this build method that is basically our entire app 9 00:00:40,470 --> 00:00:47,160 but later in this course, we'll have bigger applications with more widgets where we split that into more 10 00:00:47,160 --> 00:00:53,160 custom widgets and therefore, it will really make a difference if you update the entire app or just that 11 00:00:53,190 --> 00:00:54,460 widget with set state, 12 00:00:54,570 --> 00:00:58,350 so set state updates this widget by calling its build method again. 13 00:00:58,550 --> 00:01:02,490 Now the build method goes ahead and rebuilds this widget tree, 14 00:01:02,520 --> 00:01:05,610 it basically goes through all these instructions again. 15 00:01:05,670 --> 00:01:10,260 Now that might sound very inefficient because the majority of this user interface didn't change right, 16 00:01:10,260 --> 00:01:11,610 all the buttons are still the same, 17 00:01:11,610 --> 00:01:12,960 the appBar is the same, 18 00:01:12,960 --> 00:01:15,830 only this text changed and therefore Flutter, 19 00:01:15,840 --> 00:01:22,440 no worries, is pretty efficient about that. Internally, it has a lot of mechanism to go through that build 20 00:01:22,440 --> 00:01:28,500 method again but to not really render the entire UI again, so it does not redraw every pixel again. 21 00:01:29,100 --> 00:01:36,120 In the end, it just has its tools and its mechanisms to find out what changed on the screen and what 22 00:01:36,120 --> 00:01:43,110 needs to be redrawn and therefore it will find out that text here changed, that this widget changed because 23 00:01:43,110 --> 00:01:47,970 the text we passed to it changed and it will only update this text here 24 00:01:47,970 --> 00:01:55,260 in the end. Now again, I'll dive deeper into how that works and how we can find out what Flutter changed 25 00:01:55,260 --> 00:01:57,830 and so on, I'll dive into that throughout the course 26 00:01:57,830 --> 00:02:03,030 once we are a bit more proficient with Flutter, it's just a brief first look which I wanted to give you 27 00:02:03,030 --> 00:02:09,060 at this point, that build is getting called when you call set state and that is why you see the change 28 00:02:09,090 --> 00:02:14,250 then and that is also why you didn't see anything without set state because then you changed the data 29 00:02:14,250 --> 00:02:20,400 which is nice but Flutter never executed build again and therefore this widget tree never got rebuilt 30 00:02:20,550 --> 00:02:25,440 and therefore this text with the updated text never made it onto what the user sees. 3471

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.