mirror of
https://github.com/dart-lang/sdk
synced 2024-10-07 09:44:54 +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>
1.3 KiB
1.3 KiB
Welcome to the Dart API reference documentation, covering the core Dart API libraries. Some of the most fundamental Dart libraries include:
- dart:core: Core functionality such as strings, numbers, collections, errors, dates, and URIs.
- dart:html: DOM manipulation for web apps (available only to web apps).
- dart:io: 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
:
import 'dart:async';
import 'dart:math';
You can install more libraries using the pub package manager.
The main site for learning and using Dart is dart.dev. Check out these pages:
This API reference is automatically generated from source code in the Dart SDK project. If you'd like to give feedback or edit this documentation, see Contributing.