Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributequantify

Type-safe unit conversion and measurement library for Dart and Flutter.

pub.devRemove
result_type

A Result type representing success or failure in Dart

pub.devRemove
ScoresHealth61 (best)50
Maintenance54 (best)1
Quality100 (best)96
Popularity1947 (best)
Community4141
Compatibility100100
UsageDownloads (30 days)3475.1k (best)
Likes1835 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars1012 (best)
MaintenanceLatest release0.21.0, 4 months ago (best)1.0.0, 3 years ago
Major versions in 12 months00
Contributors11
Publisherphilippgerber.liminikin.me
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies21 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Compile-time type safety preventing invalid arithmetic or unit mixing
  • Supports 30+ quantity categories including non-linear and logarithmic units
  • Granular imports to prevent extension method conflicts
  • Type-safe success/failure representation
  • Easy chaining with map/flatMap
  • Convenient unwrapOr and unwrapOrElse helpers
Weaknesses
  • Requires learning a specific domain-specific API for quantities and units
  • No built-in async/await integration beyond Result type
  • Limited to single value, not collections or streams
WarningsNoneNone
quantify vs result_type: which Flutter package should you use? | pubscout