Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeuniversal_web

Wrapper that allows importing web APIs in non-web environments

pub.devRemove
wasm_interop

Dart wrapper for the WebAssembly JavaScript API.

pub.devRemove
ScoresHealth76 (best)41
Maintenance79 (best)0
Quality96 (best)91
Popularity2846 (best)
Community80 (best)6
Compatibility100 (best)85
UsageDownloads (30 days)57913k (best)
Likes29 (best)17
Pub points150 / 160 (best)140 / 160
GitHub stars1627 (best)
MaintenanceLatest release1.1.1+2, 6 weeks ago (best)2.0.1, 5 years ago
Major versions in 12 months00
Contributors17 (best)1
Publisherschultek.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoYes
Direct dependencies1 (best)2
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Easy to add as a dependency
  • No build_runner or code generation required
  • Zero runtime cost on non-web
  • 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.
Weaknesses
  • Stubs are non-functional and will throw if called on non-web
  • Only useful for import compatibility, not for actual functionality
  • Limited to web environments where the WebAssembly JavaScript API is available.
  • Not intended for modules requiring custom JavaScript glue code.
WarningsNoneNone
universal_web vs wasm_interop: which Flutter package should you use? | pubscout