Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart SDK
Dart

Welcome!

Welcome to the Dart API reference documentation, covering theDart core libraries. These include:

  • dart:core: Core functionality such asstrings, numbers, collections, errors, dates, and URIs.
  • dart:io: I/O for non-web apps.
  • dart:async: Functionality forasynchronous programming with futures, streams, and zones.

You'll also find reference documentation covering Dart'svarious platform interoperability options, such as:

  • dart:js_interop:Library including a sound type hierarchy and helper functionsfor interoperability with JavaScript.
  • package:web:DOM manipulation for web apps.
  • dart:ffi: Foreign function interfaces forinteroperability with the C language.

The core libraries - except fordart:core - must be imported before they'reavailable for use:

import 'dart:math';

Additionally, you can find Dart packages atpub.dev.

Language docs

The main site for learning and using Dart isdart.dev.Check out these pages:

This API reference is generated from the SDK source atdart-lang/sdk. If you'd like to givefeedback on or edit this documentation, seeContributing.

Libraries

Core

dart:async
Support for asynchronous programming,with classes such as Future and Stream.
dart:collection
Classes and utilities that supplement the collection support in dart:core.
dart:convert
Encoders and decoders for converting between different data representations,including JSON and UTF-8.
dart:core
Built-in types, collections,and other core functionality for every Dart program.
dart:developer
Interact with developer tools such as the debugger and inspector.
dart:math
Mathematical constants and functions, plus a random number generator.
dart:typed_data
Lists that efficiently handle fixed sized data(for example, unsigned 8 byte integers) and SIMD numeric types.

VM

dart:ffi
Foreign Function Interface for interoperability with the C programming language.
dart:io
File, socket, HTTP, and other I/O support for non-web applications.
dart:isolate
Concurrent programming usingisolates:independent workers that are similar to threadsbut don't share memory,communicating only via messages.
dart:mirrors
Basic reflection in Dart,with support for introspection and dynamic invocation.

Web

package:webopen_in_new
This package exposes browser APIs. It's intended to replace dart:html and similar Dart SDK libraries. It will support access to browser APIs from Dart code compiled to either JavaScript or WebAssembly.
dart:js_interop
Interoperability, "interop" for short, with JavaScript and browser APIs.
dart:js_interop_unsafe
Utility methods to manipulate JavaScript objects dynamically.

Web (Legacy)

dart:html
HTML elements and other resources for web-based applications that need tointeract with the browser and the DOM (Document Object Model).
dart:indexed_db
A client-side key-value store with support for indexes.
dart:js
Low-level support for interoperating with JavaScript.
dart:js_util
Utility methods to manipulatepackage:js annotated JavaScript interopobjects in cases where the name to call is not known at runtime.
dart:svg
Scalable Vector Graphics:Two-dimensional vector graphics with support for events and animation.
dart:web_audio
High-fidelity audio programming in the browser.
dart:web_gl
3D programming in the browser.
  1. Dart SDK
DartSDK
  1. Libraries
  2. Core
  3. dart:async
  4. dart:collection
  5. dart:convert
  6. dart:core
  7. dart:developer
  8. dart:math
  9. dart:typed_data
  10. VM
  11. dart:ffi
  12. dart:io
  13. dart:isolate
  14. dart:mirrors
  15. Web
  16. package:webopen_in_new
  17. dart:js_interop
  18. dart:js_interop_unsafe
  19. Web (Legacy)
  20. dart:html
  21. dart:indexed_db
  22. dart:js
  23. dart:js_util
  24. dart:svg
  25. dart:web_audio
  26. dart:web_gl

[8]ページ先頭

©2009-2025 Movatter.jp