Dart 语言教程文档
这些指南会教你如何使用 Dart 语言,工具,以及 API 构建应用程序。如果你想要一份体验动手编码的指导,请尝试 codelab 。
基础
#以下内容假定你对 Dart 有基本的了解,你可以通过浏览 Dart 简介 对 Dart 语言有一个初步了解,接下来,请跟随 异步编程 codelab 来学习 Future。
当你熟悉 Dart 语言以及 Future 后,就可以进一步了解 Stream 和 Package,它们是众多 Dart 程序的基础。
异步编程:stream
使用 stream 数据流管理数据序列。
如何使用 package
在 pub.dev 网站 上组织和共享代码。
Dart 服务端教程
#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.