dart-sdk/sdk/api_readme.md
Kathy Walrath aee7d5773d API doc updates
* Update the API doc index page
* Update dart:io API description

Change-Id: I3e3574fc8d188e0d2fb5033c523f314590c4214c
Reviewed-on: https://dart-review.googlesource.com/43891
Reviewed-by: Kathy Walrath <kathyw@google.com>
Commit-Queue: Kathy Walrath <kathyw@google.com>
2018-02-28 01:23:46 +00:00

1.4 KiB

Welcome to the Dart API reference documentation, covering the core Dart API libraries. Some of the most fundamental Dart libraries include:

  • dart:core: Core functionality such as strings, numbers, collections, errors, dates, and URIs.
  • dart:html: DOM manipulation for web apps (available only to web apps).
  • dart:io: I/O for non-web apps.

Except for dart:core, you must import a library before you can use it. Here's an example of importing dart:async and dart:math:

import 'dart:async';
import 'dart:math';

You can install more libraries using the pub package manager.

The main site for learning and using Dart is www.dartlang.org. Check out these pages:

This API reference is automatically generated from source code in the Dart SDK project. If you'd like to give feedback or edit this documentation, see Contributing.