Afrikaans
Akan
Albanian
Amharic
Arabic
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
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
In the last section, we pulled up dart pad inside of our code editor, we're going to use dart pad
throughout this course to test out very small snippets of dart code in the section.
We're going to start off by writing a tiny bit of code.
We'll take a break and we'll come back and talk about exactly what it's doing.
I'm going to first get started by highlighting all of this regenerated code that I have in here already
and deleting it.
So we're going to start totally from scratch.
Then we're going to write out a little bit of code together.
We're not going to immediately talk about what this code does.
We're going to first write out the entire program and then we'll come back and talk about every single
line in great, great detail.
So let's get to it.
We're going to first get started by writing out the program.
I'll get started by writing Void Main, a set of parentheses and then a set of curly braces.
Then underneath that, so that entire block, I'm going to go to a new line underneath it and I'll write
out String with a capital s.
Notice how it's capital right there.
I'll put down my name, another set of parentheses and then a set of curly braces.
Then inside of here, all right, out return my name, which is Steven, and I'll make sure I get a
semicolon at the end of this line.
Then back inside of this main thing at the top, right here inside of these curly braces, I will write
out var name equals my name, a set of parentheses and then a semicolon.
And then underneath that, I'll do print.
Another set of parentheses, a set of single quotes, and inside of here, I'll write out my name is
and then Dollar Sign name like so and then I'll end that line with a semicolon.
Now, if I run this code by clicking the run button up here at the top, I should see my name is Steven
appear on the top right hand side.
If you see any error messages down here towards the bottom right hand side, that means that you very
likely have a very small typo inside of your code.
And so compare your code against mine and you should be able to figure out exactly what's going wrong.
OK, so we wrote out a very tiny program here, and then we ran it and saw some output up here on the
right hand side.
Now, this is obviously a very straightforward and simple program, and it might be a little bit boring.
I can almost guarantee you that.
Yeah, you're thinking it's kind of boring right here, but this program is going to teach us quite
a bit about some of the basics of the dart language.
So let's take a quick pause.
We're going to come back to the next section and we're going to tear apart this program line by line
and figure out exactly what's going on inside of it.
So quick break and I'll see you in just a second.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.