Web libraries and packages
Dart provides several packages and libraries to support
web app development, the recommended option being package:web.
The Dart SDK also contains other libraries that provide low-level web APIs.
Web solutions
#- Migrate to
package:web -
Learn how to migrate to
package:webfrom Dart's previous web library solutions, likedart:html. package:webAPI reference-
Dart's recommended web interop solution
package:webexposes browser APIs with lightweight bindings built around static JS interop. - JavaScript interoperability documentation
-
Learn how to interact with existing JavaScript or TypeScript libraries using Dart's JS interop support.
-
dart:js_interopAPI reference -
Dart's web library
dart:js_interopprovides all the necessary members to facilitate sound interop between JavaScript and Dart types. - Flutter web support
-
The Flutter framework supports web development with Dart, in addition to mobile, desktop, and embedded device support.
- Jaspr web framework
-
Jaspr is a Dart web framework for building fast and dynamic HTML-based websites.
- Build a web app with Dart
A quick overview of how to build, run, and debug a web app with Dart.
To find other libraries that support the web platform, search pub.dev for web packages.