Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Dart Tutorial

Dart Tutorial

Dart is a modern programming language developed by Google, mainly used for building high-performance, cross-platform applications.

Dart supports multiple programming paradigms such as object-oriented and functional programming, and can run in browsers, on servers, on mobile, and on desktop platforms.

Dart is the core language of the Flutter framework; with Dart you can quickly develop Android, iOS, Web, and desktop applications.

This tutorial is tested against Dart 3.x and is suitable for developers with no prior experience to learn Dart programming.


Knowledge you need before learning Dart:

If you are familiar with languages such as JavaScript, Java, C#, or Python, learning Dart will be easier.


Dart application areas

Dart adopts modern language design concepts, featuring concise syntax, a powerful type system, and an efficient runtime environment.

Dart's main application areas:


First Example

Dart Hello World example

void

main

(

)

{

  print

(

"Hello Dart!"

)

;

}


Dart features and advantages


Dart compared with other languages


Flutter and Dart

Flutter is a cross-platform UI development framework launched by Google, and Dart is the development language used by Flutter.

With Flutter + Dart, developers can use a single codebase to quickly build apps for multiple platforms.


References:

Official website: https://dart.dev/

Chinese documentation: https://dart.cn/

Flutter official website: https://flutter.dev/

Flutter tutorial: https://www.runoob.com/flutter/flutter-tutorial.html