Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributewasm_interop

Dart wrapper for the WebAssembly JavaScript API.

pub.devRemove
web_ffi

Translates dart:ffi calls on the web to WebAssembly using dart:js.

pub.devRemove
ScoresHealth4150 (best)
Maintenance00
Quality91 (best)87
Popularity4656 (best)
Community641 (best)
Compatibility85100 (best)
UsageDownloads (30 days)13k35k (best)
Likes1720 (best)
Pub points140 / 160 (best)130 / 160
GitHub stars27 (best)21
MaintenanceLatest release2.0.1, 5 years ago (best)0.7.2, 5 years ago
Major versions in 12 months00
Contributors11
PublisherUnverifiederic-prokop-und-nils-wieler.de
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies22
LicenseBSD-3-CLAUSEBSD-2-CLAUSE
Setup effortLowMedium
JudgementStrengths
  • Enables direct interop with the WebAssembly JavaScript API on the web.
  • Supports null-safety and recent WebAssembly IDL features like 64-bit integer Globals and externref types.
  • Provides a drop-in solution mimicking the dart:ffi API on the web.
  • Allows reuse of ffi-based patterns across web and native targets.
Weaknesses
  • Limited to web environments where the WebAssembly JavaScript API is available.
  • Not intended for modules requiring custom JavaScript glue code.
  • Currently only supports WebAssembly compiled with emscripten.
  • Lacks support for structs (except opaque structs) and pointer array extensions.
  • Has strict constraints on function return types and pointer nesting.
WarningsNoneNone
wasm_interop vs web_ffi: which Flutter package should you use? | pubscout