/ basic

Hello world in Dart

This is a simple way to render text using dart instead of instead HTML.

.html

The html required to print the message is:
<span id="title"></span>

.Dart

The code you need to insert into the main void is:
query('#title').text = 'Hello world';

Compile your application by pressing CTRL-R this will open your application in a chromium window.

Output

Your output should display the text "Hello World"

Note:

If your project is a chrome app when running ensure that you are compiling the manifest.json instead of the .dart or .html