2020-01-16 21:23:09 +00:00
|
|
|
Welcome to the [Dart](https://dart.dev/) API reference documentation, covering
|
|
|
|
the [Dart core libraries](https://dart.dev/guides/libraries). These include:
|
2015-04-02 17:49:14 +00:00
|
|
|
|
2018-02-28 01:23:46 +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
|
|
|
|
(available only to web apps).
|
|
|
|
* [dart:io](dart-io/dart-io-library.html): I/O for non-web 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
|
2018-02-28 01:23:46 +00:00
|
|
|
an example of importing `dart:async` and `dart:math`:
|
2015-06-21 15:57:17 +00:00
|
|
|
|
|
|
|
```dart
|
2018-02-28 01:23:46 +00:00
|
|
|
import 'dart:async';
|
2015-06-21 15:57:17 +00:00
|
|
|
import 'dart:math';
|
|
|
|
```
|
|
|
|
|
2020-01-16 21:23:09 +00:00
|
|
|
You can find more libraries using the [pub.dev site](https://pub.dev).
|
|
|
|
|
2015-04-02 17:49:14 +00:00
|
|
|
The main site for learning and using Dart is
|
2019-05-21 02:51:59 +00:00
|
|
|
[dart.dev](https://dart.dev). Check out these pages:
|
2020-01-16 21:23:09 +00:00
|
|
|
|
2019-05-21 02:51:59 +00:00
|
|
|
* [Platforms](https://dart.dev/platforms)
|
|
|
|
* [Language tour](https://dart.dev/guides/language/language-tour)
|
|
|
|
* [Library tour](https://dart.dev/guides/libraries/library-tour)
|
|
|
|
* [Sample code](https://dart.dev/samples)
|
2020-01-16 21:23:09 +00:00
|
|
|
|
2018-02-28 01:23:46 +00:00
|
|
|
This API reference is automatically generated from source code in the [Dart
|
|
|
|
SDK project](https://github.com/dart-lang/sdk).
|
|
|
|
If you'd like to give feedback or edit this documentation, see
|
2015-06-04 22:20:28 +00:00
|
|
|
[Contributing](https://github.com/dart-lang/sdk/wiki/Contributing).
|