Skip to content

fix(llc): Fixed build in dart2wasm environment#2379

Open
ebraminio wants to merge 1 commit intoGetStream:masterfrom
ebraminio:master
Open

fix(llc): Fixed build in dart2wasm environment#2379
ebraminio wants to merge 1 commit intoGetStream:masterfrom
ebraminio:master

Conversation

@ebraminio
Copy link

@ebraminio ebraminio commented Sep 18, 2025

According to https://dart.dev/interop/js-interop/past-js-interop we should now "prefer using dart:js_interop going forwards and migrate usages of old interop libraries when possible" and this change does that in order to make the library compatible with --wasm builds.

Submit a pull request

Linear: FLU-

Github Issue: #

CLA

Description of the pull request

When I'm building example of this project in flutter run -d chrome --wasm mode the web mode isn't recognized correctly and raises errors like this on the console

image

Which this change fixes

Summary by CodeRabbit

  • Bug Fixes

    • Fixed web build issues (including dart2wasm) to improve stability for web users.
  • Refactor

    • Standardized web platform detection and handling across core, attachment handling, and persistence layers.
  • Chores

    • Aligned web targeting with current Dart/Flutter tooling for broader browser compatibility.
    • No public API changes.

Loading
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

Successfully merging this pull request may close these issues.

Support wasm for flutter web

2 participants