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 #1516

Open
SerdarYildiz06 opened this issue May 21, 2024 · 2 comments
Open

Flutter web wasm #1516

SerdarYildiz06 opened this issue May 21, 2024 · 2 comments
Assignees
Labels
feature-candidate This issue might result in a feature to be implemented

Comments

@SerdarYildiz06
Copy link

When I try to make build with flutter build web --wasm it giving error "Error: Dart library 'dart:html' is not available on this platform.
import 'dart:html';"

Screenshot 2024-05-21 at 13 28 59
@SerdarYildiz06 SerdarYildiz06 added the new issue An issue that hasn't yet been seen from the maintainer label May 21, 2024
@navaronbracke navaronbracke added feature-candidate This issue might result in a feature to be implemented and removed new issue An issue that hasn't yet been seen from the maintainer labels May 24, 2024
@navaronbracke
Copy link
Collaborator

We should switch to dart:js_interop instead of dart:html

@navaronbracke navaronbracke self-assigned this May 24, 2024
@akshaybabloo
Copy link

This looks like it has been done - https://github.com/miguelpruivo/flutter_file_picker/blob/master/lib/_internal/file_picker_web.dart. Would there be a new release anytime soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-candidate This issue might result in a feature to be implemented
Projects
None yet
Development

No branches or pull requests

3 participants