Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeantlr4

Dart runtime libraries for ANTLR 4 parser generator.

pub.devRemove
runtime_type

Provides a non‑opaque RuntimeType object for runtime type checks and casting.

pub.devRemove
ScoresHealth50 (best)38
Maintenance44 (best)1
Quality6391 (best)
Popularity75 (best)19
Community80 (best)6
Compatibility100100
UsageDownloads (30 days)396k (best)2.4k
Likes37 (best)7
Pub points110 / 160140 / 160 (best)
GitHub stars19k (best)7
MaintenanceLatest release4.13.2, 2 years ago (best)1.1.0, 3 years ago
Major versions in 12 months00
Contributors100+ (best)1
Publisherlingyu.liUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies20 (best)
LicenseBSD-3-CLAUSE-HPMIT
Setup effortLowLow
JudgementStrengths
  • Brings powerful ANTLR 4 parsing capabilities to Dart
  • Supports multiple platforms including Android, iOS, web, and desktop
  • Enables runtime subtype checks without mirrors
  • Simple API based on generics
  • Adds extensions for calling functions with RuntimeType arguments
Weaknesses
  • Requires external ANTLR 4 tooling to generate the parser code
  • Limited documentation specific to Dart within the package README
  • Limited to Dart; not a full reflection solution
  • May not handle all complex generic scenarios
  • Adds a small runtime overhead
Warnings
  • Quiet but busy
None
antlr4 vs runtime_type: which Flutter package should you use? | pubscout