Chromium Code Reviews| 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 [polymer.dart](http://www.dartlang.org/polymer-dart /): | |
|
sethladd
2015/04/01 18:19:08
let's use HTTPS here
keertip
2015/04/01 19:55:25
Done.
| |
| 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](http://pub.dartlang.org). | |
|
sethladd
2015/04/01 18:19:08
https
| |
| 26 | |
| 27 The main site for learning and using Dart is | |
| 28 [www.dartlang.org](http://www.dartlang.org). | |
|
sethladd
2015/04/01 18:19:08
https - and everywhere :)
keertip
2015/04/01 19:55:25
Done.
| |
| 29 Check out these pages: | |
| 30 | |
| 31 * [Dart homepage](http://www.dartlang.org) | |
| 32 * [Tutorials](http://www.dartlang.org/docs/tutorials/) | |
| 33 * [Programmer's Guide](http://www.dartlang.org/docs/) | |
| 34 * [Samples](http://www.dartlang.org/samples/) | |
| 35 * [A Tour of the Dart Libraries](http://www.dartlang.org/docs/dart-up-and-runn ing/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 |