Overview: Web LibrariesSend feedback
What kind of support is available for web programming in Dart? Where can you learn more?
Learn from the Angular docs. You can also follow two codelabs:
For examples of using package:js, see the following source code:
- Dart wrapper library for Firebase
- Example includes lib/quill.dart generated from Quill.js
- Dart API for Chart.js
The GUI for a web app is programmed in HTML and is represented in the browser by a tree structure called the Document Object Model (DOM). Understanding how the DOM works is important for developing a deeper understanding of HTML concepts. Use the dart:html library to modify the DOM programmatically.
Once you’re ready to develop complex applications that support event handling and dependency injection, for example, you’ll want a more powerful solution, such as Angular 2 for Dart.
You’re free to use whatever open-source libraries you like when creating web apps. For example, you can use Polymer elements.
Also see the FAQ.