Dart 语言教程文档
这些指南会教你如何使用 Dart 语言,工具,以及 API 构建应用程序。如果你想要一份体验动手编码的指导,请尝试 codelab 。
The basics
通过浏览 language samples 和 language tour,你可以对 Dart 语言有一个初步了解,并且开始我们的 Dart 学习之旅了。
当你熟悉该语言后,可以进一步了解 streams 和 futures,它们是众多 Dart 程序的基础。接下来你可以开始学习如何安装包——共享代码能使你的学习更加高效。
Asynchronous programming: streams
Use streams to manage sequences of data.
How to use packages
Organize and share code at the pub.dev site.
Server-side Dart tutorials
The following tutorials show how to develop scripts, command-line apps, and server apps that can run in the standalone Dart VM.
Get started
Get Dart. Create a simple standalone app, run it in the Dart VM, and AOT-compile it to native machine code.
Write command-line apps
Learn about features that command-line apps need.
Fetch data from the internet
Fetch data from the internet using the http package.
Write HTTP servers
Implement a web server written in Dart.
Web 应用
These tutorials cover topics relevant to Dart web apps.
Connect Dart and HTML
Include a Dart script in an HTML page.
Add elements to the DOM
Add elements to the web page and move them.
Remove DOM elements
Delete elements from the web page.
Use Flutter Web
Write your first Flutter app on the web.