Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefraction

Create, parse, and perform arithmetic operations with fractions and mixed fractions.

pub.devRemove
hex

Provides simple HEX.encode and HEX.decode functions for converting between byte lists and hexadecimal strings.

pub.devRemove
ScoresHealth84 (best)47
Maintenance97 (best)0
Quality97 (best)72
Popularity6677 (best)
Community46 (best)17
Compatibility100100
UsageDownloads (30 days)25k653k (best)
Likes65 (best)38
Pub points160 / 160 (best)130 / 160
GitHub stars22 (best)18
MaintenanceLatest release6.0.1, 7 days ago (best)0.2.0, 6 years ago
Major versions in 12 months10 (best)
Contributors23 (best)
Publisherfluttercompletereference.comUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Immutable types ensuring safe state management.
  • Supports both regular and mixed fractions along with rational parsing.
  • Built-in arithmetic operations that reduce to lowest terms.
  • Very small and has zero dependencies
  • Null‑safe and works on all Dart platforms
Weaknesses
  • Arithmetic operations throw a FractionException if results overflow the integer range.
  • Only handles hex encoding/decoding
  • No streaming or chunked processing support
WarningsNoneNone
fraction vs hex: which Flutter package should you use? | pubscout