Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefilesize

Translate raw file size numbers or strings into human readable strings.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth3083 (best)
Maintenance088 (best)
Quality100 (best)96
Popularity74 (best)50
Community2380 (best)
Compatibility100100
UsageDownloads (30 days)40k78k (best)
Likes182 (best)9
Pub points160 / 160 (best)150 / 160
GitHub stars46 (best)0
MaintenanceLatest release2.0.1, 6 years ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors49 (best)
PublisherUnverifiedonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-2-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Extremely lightweight with no dependencies
  • Supports both number and string inputs
  • Allows specifying the number of decimal digits
  • No external dependencies, pure Dart.
  • Up-to-date regexes and edge‑case handling (e.g., email backtracking fix).
  • Supports Dart 3.x and null safety.
Weaknesses
  • Very limited scope providing only a single formatting utility
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
Warnings
  • Repository archived
None
filesize vs validators2: which Flutter package should you use? | pubscout