Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeclock

A fakeable wrapper for dart:core clock APIs.

pub.devRemove
general_datetime

Chronology library for Gregorian, Persian, Hebrew, Chinese and Umm al‑Qura calendars with Flutter date‑picker adapters.

pub.devRemove
ScoresHealth87 (best)64
Maintenance8695 (best)
Quality7684 (best)
Popularity95 (best)13
Community80 (best)6
Compatibility100100
UsageDownloads (30 days)17M (best)990
Likes259 (best)8
Pub points140 / 160150 / 160 (best)
GitHub stars123 (best)3
MaintenanceLatest release1.1.3, 3 months ago5.0.1, 10 days ago (best)
Major versions in 12 months0 (best)4
Contributors100+ (best)1
Publishertools.dart.devUnverified
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFlutter widgets
Code generationNoNo
Direct dependencies0 (best)1
LicenseAPACHE-2.0BSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Integrates seamlessly with the fake_async package
  • Provides a top-level clock field for default usage
  • Wide range of calendar systems with validated bounds
  • Flutter adapters integrate directly with Material pickers
  • Exact instant preservation across calendars
  • Comprehensive documentation and migration guides
Weaknesses
  • Requires using the wrapper instead of direct dart:core DateTime calls
  • Adds a sizable dependency for apps that need only simple date handling
  • Limited to Dart/Flutter; no pure JavaScript support
WarningsNoneNone
clock vs general_datetime: which Flutter package should you use? | pubscout