Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeuniversal_html

Cross‑platform replacement for dart:html with DOM parsing, XML support, and EventSource.

pub.devRemove
xml

Full-featured XML and XPath library for DOM parsing, SAX streaming, and fluent building.

pub.devRemove
ScoresHealth6692 (best)
Maintenance1587 (best)
Quality9697 (best)
Popularity9097 (best)
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)655k19M (best)
Likes516 (best)449
Pub points150 / 160160 / 160 (best)
GitHub stars208230 (best)
MaintenanceLatest release2.3.0, a year ago7.1.0, 8 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors819 (best)
Publisherdint.devlukas-renggli.ch
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies94 (best)
LicenseUNKNOWNMIT
Setup effortLowLow
JudgementStrengths
  • Cross‑platform API, no need to switch imports
  • Built‑in EventSource support with customizable headers
  • Comprehensive DOM query and manipulation methods
  • Comprehensive W3C XPath 3.1 implementation and DOM model.
  • Supports both pull- and push-based event-driven SAX streaming.
  • Zero overhead and fully portable across Dart VM, Flutter, and Web.
Weaknesses
  • No Flutter widgets, only core DOM helpers
  • Not a UI framework, so not useful for building UIs
  • Requires manual handling of HTTP client for some features
  • Does not validate documents against XML Schema (XSD) definitions.
  • External DTD entity resolution and validation are not enforced.
WarningsNoneNone
universal_html vs xml: which Flutter package should you use? | pubscout