Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefling_units

Dependency-free, type-safe Dart library for unit conversion.

pub.devRemove
physical

Library for dealing with physical quantities, units, and conversions.

pub.devRemove
ScoresHealth4771 (best)
Maintenance790 (best)
Quality91100 (best)
Popularity25 (best)15
Community46 (best)41
Compatibility100100
UsageDownloads (30 days)2.3k (best)1.2k
Likes11 (best)8
Pub points140 / 160160 / 160 (best)
GitHub stars23 (best)
MaintenanceLatest release3.0.8, a year ago0.7.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors2 (best)1
Publishergelbermungo.xyzblok21.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Dependency-free and lightweight
  • Compile-time type safety preventing nonsensical unit operations
  • Comprehensive built-in support for SI prefixes, dimensions, and derived units
  • Zero dependencies
  • Intuitive API using natural arithmetic operators
  • Optional compile-time type-safe quantities using extension types
Weaknesses
  • Does not focus on performance micro-optimizations
  • Migration required when upgrading between major versions (such as 2.x to 3.x)
  • Limited to the dimensions, units, and features built into the core library or custom defined extensions
WarningsNoneNone
fling_units vs physical: which Flutter package should you use? | pubscout