Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedate_format

Simple API to format DateTime objects with custom format tokens.

pub.devRemove
validators2

String validation and sanitization for Dart.

pub.devRemove
ScoresHealth5083 (best)
Maintenance288 (best)
Quality9696
Popularity86 (best)50
Community4580 (best)
Compatibility100100
UsageDownloads (30 days)237k (best)78k
Likes449 (best)9
Pub points150 / 160150 / 160
GitHub stars87 (best)0
MaintenanceLatest release2.0.9, 2 years ago5.1.1, 3 weeks ago (best)
Major versions in 12 months00
Contributors16 (best)9
PublisherUnverifiedonepub.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies00
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Easy to use API
  • Supports many locales (English, French, German, etc.)
  • No external dependencies
  • 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
  • Only formats, no parsing
  • Limited to DateTime, no Duration formatting
  • No support for custom locale data beyond provided ones
  • Limited to string validation; no UI components.
  • No built‑in error message localization.
  • Not a form builder, just helper functions.
WarningsNoneNone
date_format vs validators2: which Flutter package should you use? | pubscout