Skip to content

Conversation

@ashutosh2014
Copy link

This PR removes the usage of dart:html, which is now deprecated and unsupported in Flutter WASM. Instead, it migrates to package:web and dart:js_interop to ensure compatibility with WebAssembly builds.

Changes

Replaced dart:html with package:web and dart:js_interop.
Updated relevant imports and adjusted API calls accordingly.
Ensured compatibility with Flutter WASM.

Why?

dart:html is deprecated and no longer works with Flutter WASM.
package:web provides a more stable and forward-compatible approach.

Testing

Verified functionality on Flutter Web and WASM builds.
Ensured no breaking changes for existing web implementations.

@JamesHancockAtteria
Copy link

Can we get this merged and released please? It's blocking wasm.

@ksokolovskyi
Copy link

Closes #150

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.

3 participants