1/2

Results 94 comments of 1/2

This is my solution, set inSampleSize before compressing ```dart double _getScale(Wallpaper wallpaper) { var scale1 = wallpaper.dimension_x / 768; var scale2 = wallpaper.dimension_y / 1024; return scale1 > scale2 ?...

Can you delete unnecessary file submissions?

https://github.com/crazecoder/open_file/commit/8468deb41f953a30b888d5c98a9d00385f35e7ba See if this is what you want

Make sure this file is app private directory, then determine whether public directory, if not, you need to use```Permission.manageExternalStorage.request()```

I tried it in the example, and it didn't report an error, it just couldn't find the file

Because of the browser security policy issues, I am looking for other implementation methods

https://github.com/crazecoder/open_file/commit/35b0d8076f48932b91386ae25b6f895e829bf8af I'm not sure it's what you want

Unfortunately, open_filex is not maintained by me, you can try to contact its maintainer, or change it to open_file

You need to get the path of assets yourself