mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 15:09:04 +00:00
df7c3197af
- Since "Futures", "Streams", and "Zones" are plural and not in code syntax, can make them lowercase to be consistent with the `dart:core` entry in the same list. - Use the full "platform interopability" term when introducing the libraries, as it might be a newer term for readers. - Replaces "interoping" term as after searching it seems not common and easily mistaken. - Fixes spelling of "function" Change-Id: Ia887b427789a50d70cb47228c677fe2fd03499e2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/349421 Reviewed-by: Kevin Moore <kevmoo@google.com> Commit-Queue: Kevin Moore <kevmoo@google.com> Reviewed-by: Marya Belanger <mbelanger@google.com>
1.7 KiB
1.7 KiB
Welcome!
Welcome to the Dart API reference documentation, covering the Dart core libraries. These include:
- dart:core: Core functionality such as strings, numbers, collections, errors, dates, and URIs.
- dart:io: I/O for non-web apps.
- dart:async: Functionality for asynchronous programming with futures, streams, and zones.
You'll also find reference documentation covering Dart's various platform interoperability options, such as:
- dart:js_interop: Library including a sound type hierarchy and helper functions for interoperability with JavaScript.
- package:web: DOM manipulation for web apps.
- dart:ffi: Foreign function interfaces for interoperability with the C language.
The core libraries - except for dart:core
- must be imported before they're
available for use:
import 'dart:math';
Additionally, you can find Dart packages at pub.dev.
Language docs
The main site for learning and using Dart is dart.dev. Check out these pages:
This API reference is generated from the SDK source at dart-lang/sdk. If you'd like to give feedback on or edit this documentation, see Contributing.