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/index.html): |
| 6 Core functionality such as strings, numbers, collections, errors, |
| 7 dates, and URIs. |
| 8 * [dart:html](./dart_html/index.html): |
| 9 DOM manipulation for web apps. |
| 10 * [dart:io](./dart_io/index.html): |
| 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 [polymer.dart](https://www.dartlang.org/polymer-dar
t/): |
| 16 |
| 17 import 'dart:html'; |
| 18 import 'dart:math'; |
| 19 import 'package:polymer/polymer.dart'; |
| 20 |
| 21 Polymer.dart is an example of a library that isn't |
| 22 included in the Dart download, |
| 23 but is easy to get and update using the _pub package manager_. |
| 24 For information on finding, using, and publishing libraries (and more) |
| 25 with pub, see [pub.dartlang.org](https://pub.dartlang.org). |
| 26 |
| 27 The main site for learning and using Dart is |
| 28 [www.dartlang.org](https://www.dartlang.org). |
| 29 Check out these pages: |
| 30 |
| 31 * [Dart homepage](https://www.dartlang.org) |
| 32 * [Tutorials](https://www.dartlang.org/docs/tutorials/) |
| 33 * [Programmer's Guide](https://www.dartlang.org/docs/) |
| 34 * [Samples](https://www.dartlang.org/samples/) |
| 35 * [A Tour of the Dart Libraries](https://www.dartlang.org/docs/dart-up-and-run
ning/contents/ch03.html) |
| 36 |
| 37 This API reference is automatically generated from the source code in the |
| 38 [Dart project](https://code.google.com/p/dart/). |
| 39 If you'd like to contribute to this documentation, see |
| 40 [Contributing](https://code.google.com/p/dart/wiki/Contributing) |
| 41 and |
| 42 [Writing API Documentation](https://code.google.com/p/dart/wiki/WritingApiDocume
ntation). |
OLD | NEW |