flutter_image_compress
flutter_image_compress copied to clipboard
Migration to js_interop for WASM Compatibility
Migrate web plugin from the js package to js_interop and migrate dart:html to package:web.
I already add pull request here #306
Thanks In your pr add "fixes #297"
Is there an ETA?
WASM build still fails with:
Target dart2wasm failed: ProcessException: Process exited abnormally with exit
code 64:
../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_image_compress_web-0.1.4+1/lib/src/pica.dart:5:8: Error: Dart library 'dart:html' is not available on this
platform.
import 'dart:html';
^
Context: The unavailable library 'dart:html' is imported through these
packages:
web_plugin_registrant.dart => package:flutter_image_compress_web =>
dart:html