Welcome!

Welcome to the Dart API reference documentation, covering the Dart core libraries. These include:

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

The core libraries - except for dart:core - must be imported before they're available for use:

import 'dart:math';

Additionally, you can find Dart packages at pub.dev.

Language docs

The main site for learning and using Dart is dart.dev. Check out these pages:

This API reference is generated from the SDK source at dart-lang/sdk. If you'd like to give feedback on or edit this documentation, see Contributing.