mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 22:01:19 +00:00
4fe9951dca
Closes #37026 https://github.com/dart-lang/sdk/pull/37026 GitOrigin-RevId: 386b573c71dbb7ff22ca0afa344258ee24dd6663 Change-Id: I6e3761bb03220c886f8ee9e379486b7903fb37bd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/103220 Reviewed-by: Kevin Moore <kevmoo@google.com> Commit-Queue: Kevin Moore <kevmoo@google.com>
33 lines
1.3 KiB
Markdown
33 lines
1.3 KiB
Markdown
Welcome to the Dart API reference documentation, covering the core Dart API
|
|
libraries. Some of the most fundamental Dart libraries include:
|
|
|
|
* [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.
|
|
|
|
Except for `dart:core`, you must import a library before you can use it. Here's
|
|
an example of importing `dart:async` and `dart:math`:
|
|
|
|
```dart
|
|
import 'dart:async';
|
|
import 'dart:math';
|
|
```
|
|
|
|
You can install more libraries using the
|
|
[pub package manager](https://dart.dev/guides/packages).
|
|
|
|
The main site for learning and using Dart is
|
|
[dart.dev](https://dart.dev). Check out these pages:
|
|
|
|
* [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)
|
|
|
|
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
|
|
[Contributing](https://github.com/dart-lang/sdk/wiki/Contributing).
|