wasm_run_flutter 0.1.0 wasm_run_flutter: ^0.1.0 copied to clipboard
This library contains the necessary platform bindings for executing `package:wasm_run`'s Web Assembly executor. Uses Rust's wasmtime optimizing runtime or wasmi interpreter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add wasm_run_flutter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
wasm_run_flutter: ^0.1.0
Alternatively, your editor might support 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_run_flutter/wasm_run_flutter.dart';