llfbandit / app_links

Android App Links, Deep Links, iOs Universal Links and Custom URL schemes handler for Flutter.
https://pub.dev/packages/app_links
Apache License 2.0
176 stars 68 forks source link

feat(web): Support compilation to Wasm #101

Closed flowhorn closed 3 months ago

flowhorn commented 3 months ago

This PR migrates usage of dart:html to their new replacements. It also updates version constraints to account for the versions required. These changes enable compilation to Wasm and improves compatibility with Dart's evolving web interop story.

The new package web requires flutter 3.16.0, therefore I updated the version constraints.

Dart and Flutter will prefer dart:js_interop, extension types, and package:web as used here going forward. Check out https://dart.dev/interop/js-interop/package-web to learn more.