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
randexp

Create random strings that match a given regular expression.

pub.devRemove
ScoresHealth83 (best)41
Maintenance96 (best)0
Quality97 (best)96
Popularity66 (best)29
Community46 (best)6
Compatibility100100
UsageDownloads (30 days)25k (best)9.5k
Likes65 (best)5
Pub points160 / 160 (best)150 / 160
GitHub stars22 (best)3
MaintenanceLatest release6.0.1, 7 days ago (best)0.0.1, 5 years ago
Major versions in 12 months10 (best)
Contributors2 (best)1
Publisherfluttercompletereference.comUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)2
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.
  • Supports a wide range of regex features like groups, piping, and back-references.
  • Allows custom PRNGs for seeded or cryptographic randomness.
  • Configurable maximum repetition for infinite repetitional tokens.
Weaknesses
  • Arithmetic operations throw a FractionException if results overflow the integer range.
  • Some badly placed positional or negated character sets cannot match anything and return empty strings.
WarningsNoneNone
fraction vs randexp: which Flutter package should you use? | pubscout