Chapter 1 | Hello World Program in Dart

Kumar Anurag
Dart School by kmranrg
Dec 12, 2020

Okay, so let’s start Dart programming with classic Hello World Program.

In order to print Hello World, we need to do follow certain steps.

  • Step 1: Define a main() function because dart compiler always looks for main() to start the compiling.
  • Step 2: Use print() to print some something.
  • Step 3: Using double or single quotes, type Hello World in between the parenthesis of print function.

Here’s the source code (wait for it to load):

And here we go, we made a simple Hello World program in Dart so easily.

Okay, bbye. See you in the next chapter 😊

--

--