Programming Fundamentals/Introduction/Dart

From Wikiversity
Jump to navigation Jump to search

hello.dart[edit | edit source]

// This program displays "Hello world!"
//
// References:
//  https://dart.dev/samples

void main() {
    print('Hello world!');
}

Try It[edit | edit source]

Copy and paste the code above into one of the following free online development environments or use your own Dart compiler / interpreter / IDE.

See Also[edit | edit source]