-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
feat(example): migrate to wasm #1867
Conversation
We may want to hold off on this for a little while: https://docs.flutter.dev/platform-integration/web/wasm#known-limitations. |
Maybe merge as The Flutter team is expecting to have complete WASM support this year and judging by the number of PRs they've been merging on the topic recently, I'd assume not in the last release of the year. Let's see if it's the game changer we're hoping for on web. |
Agree, I would even delay the merge until wasm is stable. This pull request can be considered for testing purposes (and to migrate the cancellable tile provider until then).
flutter_map is compatible with wasm out of the box since its code is dart-only. All migration that was needed is in the example app. You can just pull the wasm branch if you want to test flutter_map on wasm. |
I'm going to try to foresee the future here, but I have a feeling Flutter Wasm will be going stable tomorrow 💡🚀 |
Hmm, not sure 🤔. Maybe give it another year :D I guess they're releasing it so they can announce it at Google I/O, which I was guessing would happen! |
Along with Flutter 3.22, which brings lots of Impeller improvements also. |
Not sure if this was here before:
But it might be safe to do this now! Might need to do a fresh create of the web build config though. |
Superseded by #1885. |
Instructions
flutter channel beta
flutter build web --help
flutter pub global activate dhttpd
Roadmap
flutter_map_cancellable_tile_provider
doesn't work with wasm yetLinks and Resources