Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebig_decimal

A bugless implementation of BigDecimal in Dart based on Java's BigDecimal.

pub.devRemove
rational

Allows you to deal with rational numbers in Dart.

pub.devRemove
ScoresHealth64 (best)50
Maintenance21 (best)5
Quality100100
Popularity5874 (best)
Community74 (best)45
Compatibility100100
UsageDownloads (30 days)64k1.1M (best)
Likes1824 (best)
Pub points160 / 160160 / 160
GitHub stars2336 (best)
MaintenanceLatest release0.7.0, 10 months ago (best)2.2.3, 2 years ago
Major versions in 12 months00
Contributors711 (best)
Publisherbugless.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Based on Java's well-tested BigDecimal implementation
  • Supports infinity values and parsing
  • Precise computations on rational numbers
  • Custom gcd implementation for improved performance
Weaknesses
  • May have overhead compared to native primitives
  • Slower than native floating-point types for basic operations
WarningsNoneNone
big_decimal vs rational: which Flutter package should you use? | pubscout