Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
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.