-
Notifications
You must be signed in to change notification settings - Fork 37
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
support flutter web wasm builds #112
Comments
Thanks for creating the issue. We'd need to:
mainly the While we'd like to support it, it's still a low priority since there are a few limitations to running wasm on the browser so we'd not do this right now but soonish, of course PRs are welcome, happy to guide anyway lending a hand here. |
I tried a little PR, currently I have issues with flutter 3.24 so I couldn't test it again when filing the PR, but this should work using dart:js_interop instead of dart:js. Feel free to use this PR/adjust it etc. |
a few things have to be fixed such as:
|
Version
4.5.0
Steps to Reproduce
in a flutter web project, build it with
flutter build web --wasm
Expected Result
it builds
Actual Result
it doesn't build
More Context
flutter web wasm builds are now in
stable
branch and it is now a reasonable expectation for packages to support it https://docs.flutter.dev/platform-integration/web/wasmThe text was updated successfully, but these errors were encountered: