ponnamkarthik / FlutterToast

Toast Plugin for Flutter
MIT License
1.44k stars 359 forks source link

Migrate to `package:web` package to support WASM #498

Closed a-h-mzd closed 4 months ago

a-h-mzd commented 6 months ago

The short version:

Migrate usage of dart:html to package:web Migrate usage of dart:js, dart:js_util, and package:js to dart:js_interop This will fix compiling to WASM engine instead of just JavaScript on the web.

Full migration guide: https://dart.dev/interop/js-interop/package-web

fisforfaheem commented 5 months ago

Yes kindly

a-h-mzd commented 4 months ago

@ponnamkarthik I created a PR to address this issue. #507

a-h-mzd commented 4 months ago

Closing the issue since the PR is merged.