DEV Community

Cover image for Introduction to Dart
Shaheryar
Shaheryar

Posted on • Updated on

Introduction to Dart

Dart is a client-optimized language for developing fast apps on any platform. Its goal is to offer the most productive programming language for multi-platform development.

Note: Dart program always start with a main function, and it is necessary to use.

Example Code:

We are going to print a "Hello World" in dart.

void main(){
    print (“Hello world”);
}
Enter fullscreen mode Exit fullscreen mode

As like python, "print()" function is use to print data in dart.

Top comments (1)

Collapse
 
pablonax profile image
Pablo Discobar

cool article! If you are interested in this topic, then look here dev.to/pablonax/flutter-templates-...