OLD | NEW |
1 Welcome to the Dart API reference documentation, covering the official Dart API | 1 Welcome to the Dart API reference documentation, covering the official Dart API |
2 libraries. Some of the most fundamental Dart libraries include: | 2 libraries. Some of the most fundamental Dart libraries include: |
3 | 3 |
4 * [dart:core](dart-core/index.html): Core functionality such as strings, numbe
rs, collections, errors, dates, and URIs. | 4 * [dart:core](dart-core/dart-core-library.html): Core functionality such as st
rings, numbers, collections, errors, dates, and URIs. |
5 * [dart:html](dart-html/index.html): DOM manipulation for web apps. | 5 * [dart:html](dart-html/dart-html-library.html): DOM manipulation for web apps
. |
6 * [dart:io](dart-io/index.html): I/O for command-line apps. | 6 * [dart:io](dart-io/dart-io-library.html): I/O for command-line apps. |
7 | 7 |
8 Except for `dart:core`, you must import a library before you can use it. Here's | 8 Except for `dart:core`, you must import a library before you can use it. Here's |
9 an example of importing `dart:html` and `dart:math`: | 9 an example of importing `dart:html` and `dart:math`: |
10 | 10 |
11 ```dart | 11 ```dart |
12 import 'dart:html'; | 12 import 'dart:html'; |
13 import 'dart:math'; | 13 import 'dart:math'; |
14 ``` | 14 ``` |
15 | 15 |
16 You can install more libraries using the pub package manager. For information | 16 You can install more libraries using the pub package manager. For information |
17 on finding, using, and publishing libraries with pub, see | 17 on finding, using, and publishing libraries with pub, see |
18 [pub.dartlang.org](https://pub.dartlang.org). | 18 [pub.dartlang.org](https://pub.dartlang.org). |
19 | 19 |
20 The main site for learning and using Dart is | 20 The main site for learning and using Dart is |
21 [www.dartlang.org](https://www.dartlang.org). Check out these additional pages: | 21 [www.dartlang.org](https://www.dartlang.org). Check out these additional pages: |
22 | 22 |
23 * [Tutorials](https://www.dartlang.org/docs/tutorials/) | 23 * [Tutorials](https://www.dartlang.org/docs/tutorials/) |
24 * [Programmer's Guide](https://www.dartlang.org/docs/) | 24 * [Programmer's Guide](https://www.dartlang.org/docs/) |
25 * [Samples](https://www.dartlang.org/samples/) | 25 * [Samples](https://www.dartlang.org/samples/) |
26 * [A Tour of the Dart Libraries](https://www.dartlang.org/docs/dart-up-and-run
ning/contents/ch03.html) | 26 * [A Tour of the Dart Libraries](https://www.dartlang.org/docs/dart-up-and-run
ning/contents/ch03.html) |
27 | 27 |
28 This API reference is automatically generated from the source code in the | 28 This API reference is automatically generated from the source code in the |
29 [Dart project](https://github.com/dart-lang/sdk). If you'd like to contribute to | 29 [Dart project](https://github.com/dart-lang/sdk). If you'd like to contribute to |
30 this documentation, see | 30 this documentation, see |
31 [Contributing](https://github.com/dart-lang/sdk/wiki/Contributing). | 31 [Contributing](https://github.com/dart-lang/sdk/wiki/Contributing). |
OLD | NEW |