Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flutter Web WASM support #239

Closed
zs-dima opened this issue Jun 13, 2024 · 1 comment
Closed

Flutter Web WASM support #239

zs-dima opened this issue Jun 13, 2024 · 1 comment

Comments

@zs-dima
Copy link

zs-dima commented Jun 13, 2024

flutter build web --wasm

Leads to the Error
/home/flutter/.pub-cache/hosted/pub.dev/sqlite3-2.4.2/lib/src/wasm/vfs/async_opfs/client.dart:1:8: Error: Dart library 'dart:html' is not available on this platform.
import 'dart:html';
^
/home/flutter/.pub-cache/hosted/pub.dev/sqlite3-2.4.2/lib/src/wasm/vfs/async_opfs/worker.dart:1:8: Error: Dart library 'dart:html' is not available on this platform.
import 'dart:html';
^


it can be related to the: #230

please, take a look
https://dart.dev/interop/js-interop
https://dart.dev/interop/js-interop/package-web

@simolus3
Copy link
Owner

Please don't open obvious duplicates. The newer 2.4.3 version of this package also supports being compiled to WebAssembly already, it's just not feature complete (see the linked issue).

@simolus3 simolus3 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants