I'm attempting to create an epub document creator in flutter, and thus need to have something that programmatically builds xhtml files. I'm not sure which library to start with, here, nor what their different purposes are.
From the dart:html
documentation :
HTML elements and other resources for web-based applications that need to interact with the browser and the DOM (Document Object Model).
From the package:html
package description:
APIs for parsing and manipulating HTML content outside the browser.
In other words, dart:html
is used for Dart for the web to interact with a web browser. package:html
is an HTML parser without a web browser.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.