flutter_image_compress
flutter_image_compress copied to clipboard
Migrate js interop fixes #297
Now this package will support wasm 🥳🥳🥳
is there anything to improve? @fluttercandies
@CaiJingLong Please review it
can you merge it and deploy on pub? @MominRaza @scascacha @mono0926 @bes89
@CaiJingLong @AlexV525 Please review this
For the meantime, you can dependency override flutter_image_compress_web:
flutter_image_compress_web:
git:
url: https://github.com/myxzlpltk/flutter_image_compress.git
path: packages/flutter_image_compress_web
For the meantime, you can dependency override
flutter_image_compress_web:flutter_image_compress_web: git: url: https://github.com/myxzlpltk/flutter_image_compress.git path: packages/flutter_image_compress_web
This works fine, on web only, but then if you need image compress on other platforms in addition to running on web, it doesn't get the job done, because the main flutter image compress package still depends on flutter image compress web from pub.dev, which isn't wasm compatible yet. I managed to fork the repo and made it web compatible, and removing the hosted dependencies as well, and having all of the dependencies local to the package. Here's the url https://github.com/alainjr10/flutter_image_compress.git