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

Migrate from dart html to package web for flutter wasm compatibility #170

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

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.

1 participant