2015-06-21 15:57:17 +00:00
|
|
|
Welcome to the Dart API reference documentation, covering the official Dart API
|
|
|
|
libraries. Some of the most fundamental Dart libraries include:
|
2015-04-02 17:49:14 +00:00
|
|
|
|
2015-08-20 20:17:34 +00:00
|
|
|
* [dart:core](dart-core/dart-core-library.html): Core functionality such as strings, numbers, collections, errors, dates, and URIs.
|
|
|
|
* [dart:html](dart-html/dart-html-library.html): DOM manipulation for web apps.
|
|
|
|
* [dart:io](dart-io/dart-io-library.html): I/O for command-line apps.
|
2015-04-02 17:49:14 +00:00
|
|
|
|
2015-06-21 15:57:17 +00:00
|
|
|
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`:
|
|
|
|
|
|
|
|
```dart
|
|
|
|
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](https://pub.dartlang.org).
|
2015-04-02 17:49:14 +00:00
|
|
|
|
|
|
|
The main site for learning and using Dart is
|
2015-06-21 15:57:17 +00:00
|
|
|
[www.dartlang.org](https://www.dartlang.org). Check out these additional pages:
|
2015-04-02 17:49:14 +00:00
|
|
|
|
|
|
|
* [Tutorials](https://www.dartlang.org/docs/tutorials/)
|
|
|
|
* [Programmer's Guide](https://www.dartlang.org/docs/)
|
|
|
|
* [Samples](https://www.dartlang.org/samples/)
|
|
|
|
* [A Tour of the Dart Libraries](https://www.dartlang.org/docs/dart-up-and-running/contents/ch03.html)
|
|
|
|
|
|
|
|
This API reference is automatically generated from the source code in the
|
2015-06-21 15:57:17 +00:00
|
|
|
[Dart project](https://github.com/dart-lang/sdk). If you'd like to contribute to
|
|
|
|
this documentation, see
|
2015-06-04 22:20:28 +00:00
|
|
|
[Contributing](https://github.com/dart-lang/sdk/wiki/Contributing).
|