Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributetext_parser

A Dart package for parsing text flexibly using multiple regular expression patterns.

pub.devRemove
xml

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

pub.devRemove
ScoresHealth4692 (best)
Maintenance487 (best)
Quality100 (best)97
Popularity1697 (best)
Community4180 (best)
Compatibility100100
UsageDownloads (30 days)1.3k19M (best)
Likes8449 (best)
Pub points160 / 160160 / 160
GitHub stars9230 (best)
MaintenanceLatest release2.4.0, 2 years ago7.1.0, 8 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors119 (best)
Publisherkaboc.cclukas-renggli.ch
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1 (best)4
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Includes useful preset matchers for URLs, emails, and phone numbers.
  • Supports running parsing tasks in an isolate to prevent UI jank.
  • Allows custom matchers and exact string matching with escaped regex characters.
  • 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
  • Reliance on regular expressions can become hard to maintain for highly complex nested grammars.
  • Named capture groups lose their names in the resulting groups list.
  • Does not validate documents against XML Schema (XSD) definitions.
  • External DTD entity resolution and validation are not enforced.
WarningsNoneNone
text_parser vs xml: which Flutter package should you use? | pubscout