dart-sdk/sdk_nnbd/api_readme.md
Paul Berry 004d49bd6b Make a fork of sdk/lib for use by NNBD.
Change-Id: I7f5892d66f9e7bd08ca064fb2df329794a56faf5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/116527
Reviewed-by: Leaf Petersen <leafp@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2019-09-10 19:20:12 +00:00

1.3 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 dart.dev. 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.