Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecharcode

Provides named integer constants for ASCII and HTML character codes.

pub.devRemove
http_status_code

A Dart library providing constants and helpers for HTTP status codes.

pub.devRemove
ScoresHealth50 (best)39
Maintenance3 (best)0
Quality100 (best)74
Popularity79 (best)43
Community80 (best)6
Compatibility100100
UsageDownloads (30 days)4.4M (best)11k
Likes33 (best)16
Pub points160 / 160 (best)135 / 160
GitHub stars21 (best)8
MaintenanceLatest release1.4.0, 2 years ago (best)0.0.2, 5 years ago
Major versions in 12 months00
Contributors9 (best)1
Publisherinfimum.dkUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Zero runtime dependency, pure Dart constants.
  • Supports both ASCII and HTML entities with clear naming conventions.
  • CLI generator lets you create a trimmed set of constants for production.
  • No build_runner or code‑gen setup required for basic use.
  • Zero dependencies, small footprint.
  • Comprehensive coverage of RFC‑defined codes.
  • Type‑safe enum for status codes.
Weaknesses
  • Limited to ASCII and HTML 4.01 entities; no full Unicode support.
  • Requires manual generation for custom sets if you want to drop unused constants.
  • No integration with other code‑gen workflows.
  • No networking functionality; only status code helpers.
  • No support for custom or non‑standard codes.
  • Not maintained beyond initial release.
WarningsNoneNone
charcode vs http_status_code: which Flutter package should you use? | pubscout