2023-04-04 00:25:44 +00:00
|
|
|
# Welcome!
|
|
|
|
|
|
|
|
Welcome to the Dart API reference documentation, covering the
|
|
|
|
[Dart core libraries](https://dart.dev/guides/libraries). These include:
|
2023-04-26 18:25:55 +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.
|
2023-04-04 00:25:44 +00:00
|
|
|
* [dart:io](dart-io/dart-io-library.html): I/O for non-web apps.
|
2024-01-30 22:35:52 +00:00
|
|
|
* [dart:async](dart-async/dart-async-library.html): Functionality for
|
2024-02-01 21:41:38 +00:00
|
|
|
asynchronous programming with futures, streams, and zones.
|
2024-01-30 22:35:52 +00:00
|
|
|
|
2024-02-01 21:41:38 +00:00
|
|
|
You'll also find reference documentation covering Dart's
|
|
|
|
various platform interoperability options, such as:
|
2024-01-30 22:35:52 +00:00
|
|
|
|
2024-02-01 21:41:38 +00:00
|
|
|
* [dart:js_interop](dart-js_interop/dart-js_interop-library.html):
|
|
|
|
Library including a sound type hierarchy and helper functions
|
|
|
|
for interoperability with JavaScript.
|
|
|
|
* [package:web](https://pub.dev/documentation/web):
|
|
|
|
DOM manipulation for web apps.
|
|
|
|
* [dart:ffi](dart-ffi/dart-ffi-library.html): Foreign function interfaces for
|
|
|
|
interoperability with the C language.
|
2023-04-26 18:25:55 +00:00
|
|
|
|
|
|
|
The core libraries - except for `dart:core` - must be imported before they're
|
|
|
|
available for use:
|
2015-06-21 15:57:17 +00:00
|
|
|
|
|
|
|
```dart
|
|
|
|
import 'dart:math';
|
|
|
|
```
|
|
|
|
|
2023-04-04 00:25:44 +00:00
|
|
|
Additionally, you can find Dart packages at [pub.dev](https://pub.dev).
|
|
|
|
|
|
|
|
## Language docs
|
2020-01-16 21:23:09 +00:00
|
|
|
|
2023-04-26 18:25:55 +00:00
|
|
|
The main site for learning and using Dart is [dart.dev](https://dart.dev).
|
|
|
|
Check out these pages:
|
2020-01-16 21:23:09 +00:00
|
|
|
|
2023-03-28 21:23:23 +00:00
|
|
|
* [Dart overview](https://dart.dev/overview)
|
|
|
|
* [Dart language documentation](https://dart.dev/language)
|
2024-02-01 21:41:38 +00:00
|
|
|
* [Library tour](https://dart.dev/libraries)
|
2023-03-28 21:23:23 +00:00
|
|
|
* [Tutorials](https://dart.dev/tutorials)
|
2020-01-16 21:23:09 +00:00
|
|
|
|
2023-04-04 00:25:44 +00:00
|
|
|
This API reference is generated from the SDK source at
|
|
|
|
[dart-lang/sdk](https://github.com/dart-lang/sdk). If you'd like to give
|
|
|
|
feedback on or edit this documentation, see
|
2023-03-28 21:23:23 +00:00
|
|
|
[Contributing](https://github.com/dart-lang/sdk/blob/main/CONTRIBUTING.md).
|