mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 08:24:39 +00:00
1.4 KiB
1.4 KiB
Welcome to the Dart API reference documentation, covering the official 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.
- dart:io: I/O for command-line apps.
Except for dart:core
, you must import a library before you can use it. Here's
an example of importing dart:html
and dart:math
:
import 'dart:html';
import 'dart:math';
You can install more libraries using the pub package manager. For information on finding, using, and publishing libraries with pub, see pub.dartlang.org.
The main site for learning and using Dart is www.dartlang.org. Check out these additional pages:
This API reference is automatically generated from the source code in the Dart project. If you'd like to contribute to this documentation, see Contributing.