Web 平台
Dart supports the web as one of its core platforms. Dart-to-JavaScript compilers are available both for development (with a quick edit-refresh cycle) and for production (with a focus on code size and speed).
In addition to compilers, the Dart web platform provides core libraries, access to the DOM (Document Object Model), and interoperability for calling JavaScript from Dart.
You have the option of using Dart web with a higher-level web app framework. Many apps that support web plus mobile or desktop are built using Flutter and Flutter web support. Flutter web support and other web app frameworks for Dart are powered by the Dart web platform.
Flutter Gallery, running in a web browser
除非另有说明,文档之所提及适用于 Dart 3.5.4 版本,本页面最后更新时间: 2024-03-07。 查看文档源码 或者 报告页面问题。