All language subtitles for 005 How Flutter & Dart Code Gets Compiled To Native Apps.en

af Afrikaans
ak Akan
sq Albanian
am Amharic
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
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
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

Original subtitles

1

Now how does Flutter and Dart therefore then work internally? How is your Flutter app actually converted

2

to a native app which can be published to the app stores? Well you have your Dart code which uses the

3

Flutter framework or the Flutter API as I call it here, which stands for application programming interface.

4

In the end that just means that Flutter gives you a collection of functions, of widgets, which you can

5

use in your code to build the interface you want to build.

6

So you have your own widgets and your own code then composed of that set of built-in widgets or your

7

own widgets which you can also build and you want to build for Android and iOS.

8

Now as I said, Flutter simply compile that Dart code to native code for these different platforms

9

and that happens with the help of the Flutter SDK

10

and as a result, you get real apps spit out with highly optimized high performance code that's based

11

on your code

12

but that's not your code itself,

13

instead it's the compiled version of that code and therefore you really ship code that runs on the different

14

platforms

15

and that's optimized and high performant because performance is actually a huge advantage of Flutter

16

apps, Flutter out of the box gives you high performance applications.

17

Now in case you worked before with let's say React Native which is kind of an alternative to Flutter and I'll

18

come back to this in a second,

19

it's important to understand that Flutter does not use platform primitives.

20

Now what do I mean with that? We're having our Flutter app and we're targeting iOS and Android.

21

Now if we want to add a button then in Flutter with this UI as Code approach, we do so by adding a

22

RaisedButton.

23

Now this is just an instruction in your Flutter code which tells Flutter to render a button in that part

24

of your widget tree.

25

Now you could think that what happens when the code gets compiled to that native code is that this

26

RaisedButton is translated to hey iOS,

27

please give me your default button, which would be a UI button element in the iOS development world and

28

for Android, a widget.button, that we get these native buttons which are of course part of the native

29

development environments

30

and that's not what happens.

31

Instead Flutter has its own implementations because Flutter, and that's really important to understand

32

and to keep in mind, directly controls every pixel on the screen.

33

So Flutter does not compile your code to some native equivalence or native alternatives, instead Flutter

34

ships with its own engine which controls the entire screen, everything the user sees and renders every

35

pixel on its own and that gives Flutter a lot of control and a lot of flexibility.

36

Now you don't have to care too much about that because Flutter does it for you but it's important to

37

be aware of that because that gives Flutter more control and less limitations and therefore, you implicitly,

38

indirectly benefit from that.

39

You have a good performance,

40

you have a lot of power, a lot of things you can configure,

41

you have full control over how you want to build your user interface.

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