wasm work

This commit is contained in:
John Smith
2022-03-15 23:02:24 -04:00
parent 736e7a0cb0
commit a39b38cc16
8 changed files with 86 additions and 58 deletions

View File

@@ -89,7 +89,7 @@ class _MyAppState extends State<MyApp> with UiLoggy {
// Platform messages may fail, so we use a try/catch PlatformException.
// We also handle the message potentially returning null.
try {
veilidVersion = Veilid.instance.veilidVersionString();
veilidVersion = await Veilid.instance.veilidVersionString();
} on Exception {
veilidVersion = 'Failed to get veilid version.';
}

View File

@@ -149,6 +149,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
mutex:
dependency: transitive
description:
name: mutex
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.0"
path:
dependency: transitive
description:
@@ -301,6 +308,13 @@ packages:
relative: true
source: path
version: "0.0.1"
wasm_interop:
dependency: transitive
description:
name: wasm_interop
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
win32:
dependency: transitive
description: