Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedlibphonenumber

Parse, format, validate and extract international phone numbers in pure Dart.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth7783 (best)
Maintenance92 (best)88
Quality9196 (best)
Popularity77 (best)50
Community680 (best)
Compatibility100100
UsageDownloads (30 days)188k (best)78k
Likes62 (best)9
Pub points140 / 160150 / 160 (best)
GitHub stars43 (best)0
MaintenanceLatest release1.1.76, 2 weeks ago (best)5.1.1, 3 weeks ago
Major versions in 12 months00
Contributors19 (best)
PublisherUnverifiedonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies30 (best)
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Pure Dart implementation works on all Flutter platforms
  • Comprehensive feature set covering parsing, formatting, validation, and metadata
  • No native dependencies simplify builds
  • 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
  • Relies on bundled metadata which may become outdated between releases
  • Limited to phone‑number utilities; no broader validation library
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
Warnings
  • Single maintainer
None
dlibphonenumber vs validators2: which Flutter package should you use? | pubscout