Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributentp

Fetch accurate current time from an NTP server as a DateTime object.

pub.devRemove
ntp_dart

Cross-platform NTP and SNTP time synchronization client for Dart and Flutter.

pub.devRemove
ScoresHealth5072 (best)
Maintenance091 (best)
Quality96100 (best)
Popularity84 (best)19
Community80 (best)41
Compatibility85100 (best)
UsageDownloads (30 days)199k (best)2.1k
Likes261 (best)8
Pub points150 / 160160 / 160 (best)
GitHub stars54 (best)3
MaintenanceLatest release2.0.0, 6 years ago1.5.2, 2 weeks ago (best)
Major versions in 12 months00
Contributors9 (best)1
Publishersquare-pear.comvdes.it
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies0 (best)1
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Pure Dart implementation works everywhere
  • Null‑safe and lightweight
  • Easy to use API
  • Cross-platform support including Web/WASM without intl dependency conflicts.
  • Includes built-in offset caching, multi-server failover, and multi-sample RTT filtering.
  • Provides reactive clock streams and system clock tamper detection.
Weaknesses
  • Only a single default NTP server (time.google.com)
  • No built‑in caching or advanced NTP features
  • No automatic retry or fallback logic
  • Requires an active internet connection or a previously cached offset for initial accuracy.
  • Depends on external NTP servers or custom time API endpoints being reachable.
WarningsNoneNone
ntp vs ntp_dart: which Flutter package should you use? | pubscout