Dart 语言教程文档
这些教程会教你如何使用 Dart 语言、工具以及 API 来构建应用程序。
学习基础知识
#以下内容假定你对 Dart 有基本的了解,你可以通过浏览 Dart 简介 对 Dart 语言有一个初步了解,接下来,请跟随 异步编程教程 来学习 Future。
当你熟悉 Dart 语言以及 Future 后,就可以进一步了解 Iterable、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.
持续学习
#尝试更多教程,来学习更多使用 Dart 开发的经验!
Dart 速查表
快速体验 Dart 独特的语言特性。
记录 (Record) 和模式匹配 (Pattern)
探索 Dart 对记录 (Record) 和模式匹配 (Pattern) 的支持。
可迭代集合
学习分析和处理存储在数据集中的数据。
Flutter codelabs 和教程
通过构建 Flutter 应用来拓展你的 Dart 技能。