Web platform
Resources for developing Dart web apps.
Dart supports the web as one of its core platforms.
For development, the Dart development JavaScript compiler (ddc) provides a
quick edit-refresh cycle.
For production deployment, you can compile Dart to
WebAssembly (Wasm) (dart2wasm) for fast startup and consistent frame
execution in modern browsers, or to minified JavaScript (dart2js).
In addition to compilers,
the Dart web platform provides core libraries,
access to the Document Object Model (DOM) through
package:web,
and interoperability for calling JavaScript from Dart.
You can also pair Dart web with a higher-level framework. You can build multi-platform apps for web, mobile, and desktop by using Flutter and Flutter web, or use Jaspr to build HTML-based websites. The Dart web platform powers Flutter web, Jaspr, and other Dart web frameworks.
Unless stated otherwise, the documentation on this site reflects Dart 3.13.7. Page last updated on 2026-11-10. View source or report an issue.