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.
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.