title | short-title | description |
---|---|---|
Dart language specification |
Language specification |
The formal specification for the Dart language. |
Use this page to find the formal Dart language specification. For a gentler introduction to Dart, see the language tour.
The Dart 3 language specification is in progress. You can find the in-progress specification in PDF format:
- Latest, in-progress specification (produced from a LaTeX file)
New language features are typically described using informal language feature specifications in the dart-lang/language repo:
:::version-note Dart 3 changed the Dart language in a few ways, primarily requiring sound null safety. :::
The Dart 2 language specification is available in PDF format:
For information on Dart versions 2.12 and later, which have support for null safety, check out the in-progress Dart 3 specification.
The formal Dart 1.x language specification is available from the Ecma International website: