Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributestring_scanner

A class for parsing strings using a sequence of patterns.

pub.devRemove
xml

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

pub.devRemove
ScoresHealth8192 (best)
Maintenance5387 (best)
Quality9697 (best)
Popularity9497 (best)
Community8080
Compatibility100100
UsageDownloads (30 days)14M19M (best)
Likes222449 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars123230 (best)
MaintenanceLatest release1.4.1, 2 years ago7.1.0, 8 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors100+ (best)19
Publishertools.dart.devlukas-renggli.ch
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1 (best)4
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Simplifies sequential string parsing with patterns.
  • Provides helpful methods for expectations and matching errors.
  • 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
  • Requires manual imperative parsing logic for complex grammars.
  • Does not validate documents against XML Schema (XSD) definitions.
  • External DTD entity resolution and validation are not enforced.
Warnings
  • Quiet but busy
None
string_scanner vs xml: which Flutter package should you use? | pubscout