Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeconst_date_time

A drop-in replacement for Dart's DateTime class with const constructors.

pub.devRemove
universal_ffi

Cross-platform wrapper for dart:ffi and wasm_ffi to support native platforms and web.

pub.devRemove
ScoresHealth5768 (best)
Maintenance964 (best)
Quality100100
Popularity51 (best)39
Community63 (best)41
Compatibility100100
UsageDownloads (30 days)16k20k (best)
Likes21 (best)8
Pub points160 / 160160 / 160
GitHub stars4 (best)2
MaintenanceLatest release1.2.1, 2 years ago1.5.1, 3 months ago (best)
Major versions in 12 months00
Contributors5 (best)1
Publisherwesty92.comvm75.duckdns.org
FitPlatformsAll (pure Dart)Android, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindPure DartFFI (native library)
Code generationNoNo
Direct dependencies0 (best)3
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Drop-in replacement for DateTime with identical API methods
  • Enables const constructors for dates
  • Zero external dependencies
  • Consistent API across all platforms including web
  • Helper utilities for asynchronous library loading and memory management
Weaknesses
  • Limited scope restricted entirely to mimicking DateTime with const support
  • Web platform has limitations on certain dart:ffi features like Array, Struct, and Union
  • Requires manual compilation and asset management for WebAssembly or Emscripten binaries
WarningsNoneNone
const_date_time vs universal_ffi: which Flutter package should you use? | pubscout