wasm_ffi 0.9.4 copy "wasm_ffi: ^0.9.4" to clipboard
wasm_ffi: ^0.9.4 copied to clipboard

Platformweb

A wrapper for wasm which can be used as a drop-in replacement for dart:ffi for Web platform.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add wasm_ffi

With Flutter:

 $ flutter pub add wasm_ffi

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  wasm_ffi: ^0.9.4

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:wasm_ffi/wasm_ffi.dart';
1
likes
110
pub points
45%
popularity

Publisher

verified publishervm75.duckdns.org

A wrapper for wasm which can be used as a drop-in replacement for dart:ffi for Web platform.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

js, meta

More

Packages that depend on wasm_ffi