# Dart入门教程

本书旨在以前端程序员的视角，参考JavaScript和TypeScript的语法特性，引导读者循序渐进的学习Dart。

## 与官方文档有何不同

Dart虽然有[官方文档](https://dart.dev/guides)和[中文版文档](https://dart.cn/guides)，但是每一章都是一个独立的主题，导致文档内容虽然详尽但稍显臃肿，其中包含了许多在日常开发中不常用到的内容。 与官方文档不同，本教程会以前端程序员的视角总结思考，旨在帮助各位读者迅速入门Dart，并在开发过程中逐步理解Dart的各个方面。

## 关于本书

* [在线阅读](https://dart-2.gitbook.io/dart-ru-men-jiao-cheng)；
* [GitHub地址](https://github.com/ZhiguangXiong/dart-tutorial)；
* 发现文章内容有问题，可以直接在页面下方评论；
* 对项目的建议，可以提交issue向作者反馈；
* 欢迎直接提交pull-request参与贡献；


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dart-2.gitbook.io/dart-ru-men-jiao-cheng/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
