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
wasm_ffi

Drop-in replacement for dart:ffi for WebAssembly on the web platform.

pub.devRemove
ScoresHealth5768 (best)
Maintenance964 (best)
Quality100100
Popularity5152 (best)
Community63 (best)52
Compatibility100 (best)71
UsageDownloads (30 days)17k30k (best)
Likes21 (best)16
Pub points160 / 160160 / 160
GitHub stars415 (best)
MaintenanceLatest release1.2.1, 2 years ago2.4.0, 3 months ago (best)
Major versions in 12 months00
Contributors5 (best)3
Publisherwesty92.comvm75.duckdns.org
FitPlatformsAll (pure Dart)Web
WASM-readyYesYes
KindPure DartFFI (native library)
Code generationNoNo
Direct dependencies0 (best)5
LicenseMITBSD-2-CLAUSE
Setup effortLowMedium
JudgementStrengths
  • Drop-in replacement for DateTime with identical API methods
  • Enables const constructors for dates
  • Zero external dependencies
  • Enables reuse of existing C/C++ codebases via WebAssembly on the web.
  • Mirrors the familiar dart:ffi API pattern closely.
Weaknesses
  • Limited scope restricted entirely to mimicking DateTime with const support
  • Separately loaded Wasm modules do not share memory by default.
  • Strict return type constraints and special rules apply when looking up and invoking functions.
WarningsNoneNone
const_date_time vs wasm_ffi: which Flutter package should you use? | pubscout