OLD | NEW |
| (Empty) |
1 Welcome to the Dart API reference documentation, | |
2 covering the official Dart API libraries. | |
3 Some of the most fundamental Dart libraries include: | |
4 | |
5 * [dart:core](#dart:core): | |
6 Core functionality such as strings, numbers, collections, errors, | |
7 dates, and URIs. | |
8 * [dart:html](#dart:html): | |
9 DOM manipulation for web apps. | |
10 * [dart:io](#dart:io): | |
11 I/O for command-line apps. | |
12 | |
13 Except for dart:core, you must import a library before you can use it. | |
14 Here's an example of importing dart:html, dart:math, and a | |
15 third popular library called | |
16 [polymer.dart](http://www.dartlang.org/polymer-dart/): | |
17 | |
18 import 'dart:html'; | |
19 import 'dart:math'; | |
20 import 'package:polymer/polymer.dart'; | |
21 | |
22 Polymer.dart is an example of a library that isn't | |
23 included in the Dart download, | |
24 but is easy to get and update using the _pub package manager_. | |
25 For information on finding, using, and publishing libraries (and more) | |
26 with pub, see | |
27 [pub.dartlang.org](http://pub.dartlang.org). | |
28 | |
29 The main site for learning and using Dart is | |
30 [www.dartlang.org](http://www.dartlang.org). | |
31 Check out these pages: | |
32 | |
33 * [Dart homepage](http://www.dartlang.org) | |
34 * [Tutorials](http://www.dartlang.org/docs/tutorials/) | |
35 * [Programmer's Guide](http://www.dartlang.org/docs/) | |
36 * [Samples](http://www.dartlang.org/samples/) | |
37 * [A Tour of the Dart Libraries](http://www.dartlang.org/docs/dart-up-and-runn
ing/contents/ch03.html) | |
38 | |
39 This API reference is automatically generated from the source code in the | |
40 [Dart project](https://code.google.com/p/dart/). | |
41 If you'd like to contribute to this documentation, see | |
42 [Contributing](https://code.google.com/p/dart/wiki/Contributing) | |
43 and | |
44 [Writing API Documentation](https://code.google.com/p/dart/wiki/WritingApiDocume
ntation). | |
OLD | NEW |