Macros (experimental)
The Dart macro system experimental language feature was previously under development to add support for static meta-programming to the Dart language.
Work on macros was suspended in January 2025. For details please see the blog post.
Was this page's content helpful?
Thank you for your feedback!
Provide details Thank you for your feedback! Please let us know what we can do to improve.
Provide details Unless stated otherwise, the documentation on this site reflects Dart 3.8.1. Page last updated on 2025-01-29. View source or report an issue.