• Dart 语言教程文档
    • The basics
      • Asynchronous programming: streams
      • Install shared packages
    • Server-side Dart tutorials
      • Get started
      • Write command-line apps
      • Write HTTP clients and servers
    • Web 应用
      • Fetch data dynamically
      • Connect Dart & HTML
      • Add elements to the DOM
      • Remove DOM elements
    • 更多学习教程

    Dart 语言教程文档

    这些指南会教你如何使用 Dart 语言,工具,以及 API 构建应用程序。如果你想要一份体验动手编码的指导,请尝试codelab

    The basics

    通过浏览 language samples 和 language tour,你可以对 Dart 语言有一个初步了解,并且开始我们的 Dart 学习之旅了。

    当你熟悉该语言后,可以进一步了解 streamsfutures,它们是众多 Dart 程序的基础。接下来你可以开始学习如何安装包——共享代码能使你的学习更加高效。

    Asynchronous programming: streams

    Use streams to manage sequences of data.

    Install shared 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.

    Write HTTP clients and servers

    Use dart:io APIs to communicate over the internet.

    Web 应用

    These tutorials cover topics relevant to Dart web apps.

    Fetch data dynamically

    Load data from a static file or from a server.

    Connect Dart & 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.

    更多学习教程

    • Flutter 学习指南

    • Dart 学院