Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_time_guard

Detects and validates device clock changes using NTP

pub.devRemove
timezone

Time zone databases and time zone aware DateTime class in Dart.

pub.devRemove
ScoresHealth6594 (best)
Maintenance7693 (best)
Quality100100
Popularity2594 (best)
Community4180 (best)
Compatibility73100 (best)
UsageDownloads (30 days)6045.3M (best)
Likes22597 (best)
Pub points160 / 160160 / 160
GitHub stars553 (best)
MaintenanceLatest release1.3.2, 7 weeks ago0.11.2, 6 weeks ago (best)
Major versions in 12 months00
Contributors170 (best)
Publisherm-yahia2011.spacetools.dart.dev
FitPlatformsAndroid, iOSAll (pure Dart)
WASM-readyNoYes
KindPlugin (native code)Pure Dart
Code generationNoNo
Direct dependencies32 (best)
LicenseMITBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Real‑time change detection
  • Configurable NTP tolerance
  • Offline cache with monotonic clock
  • Cross‑platform (Android & iOS)
  • Includes comprehensive IANA time zone database variants (default, all, 10y).
  • TZDateTime implements the core DateTime interface for seamless drop-in usage.
Weaknesses
  • Depends on NTP availability
  • No support for web or desktop
  • Requires native plugin setup
  • Getting the current timezone of the device is platform-dependent and not a goal of the package.
  • Standalone environment initialization likely will not work in a Flutter environment.
Warnings
  • Native setup
None
flutter_time_guard vs timezone: which Flutter package should you use? | pubscout