dart-sdk/sdk/api_readme.md
Devon Carew a548eb9bd2 [sdk docs] update sdk libraries to use triple slash docs
Change-Id: I9ee4d630763042031a06d05fb477f79deb32885b
CoreLibraryReviewExempt: dartdoc only changes, mostly to web libraries (web team reviewed)
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/288323
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Srujan Gaddam <srujzs@google.com>
2023-03-14 19:10:25 +00:00

1.3 KiB

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: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 find more libraries using the pub.dev site.

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.