Keywords
The following table lists the words that the Dart language reserves for its own use. These words can't be used as identifiers unless otherwise noted. Even when allowed, using keywords as identifiers can confuse other developers reading your code and should be avoided. To learn more about identifier usage, click on the term.
1 This keyword can be used as an identifier depending on context.
2 This keyword can't be used as the name of a type (a class, a mixin, an enum, an extension type, or a type alias), the name of an extension, or as an import prefix. It can be used as an identifier in all other circumstances.
3 This keyword can be used as an identifier without restriction.
Unless stated otherwise, the documentation on this site reflects Dart 3.5.3. Page last updated on 2024-04-25. View source or report an issue.