xclud / flutter_crop

Crop any widget/image in Android, iOS, Web and Desktop with fancy and customizable UI, in pure Dart code.
https://pub.dev/packages/crop
MIT License
259 stars 84 forks source link

Update flutter version for web without CanvasKit/Skia #52

Closed xhit closed 3 years ago

xhit commented 3 years ago

To run Crop on web correctly, flutter version 1.26.0-17.3.pre or above is needed (beta channel).

Not need to enable CanvasKit/Skia when compiling.

xclud commented 3 years ago

Hi. Did you confirm this on both mobile and desktop browsers? As far as I know in recent releases of flutter the render engine is set to auto meaning the it will switch Skia on mobile and desktop. Can you please confirm this?

xhit commented 3 years ago

You are right. I missed testing in mobile browsers because is not the target.

flutter build web --web-renderer canvaskit works in mobile and desktop browser. Using the html render not working in both (or auto because use html on mobile).