We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当分享一个大型壁纸 > 3mb 就会出现明显的卡顿。
> 3mb
Future<void> shareWallpaper(Wallpaper wallpaper) async { final dir = Directory(wallpaper.getDirPath()); final pak = await WallpaperFileUtil.packWallpaper(dir); print('----------------------------------'); print(pak.path); print(pak.existsSync()); final newPath = (await getTemporaryDirectory()).path + Platform.pathSeparator + FileUtils.basename(pak.path); pak.renameSync(newPath); print('----------------------------------'); print(newPath); print(File(newPath)); if (pak != null && pak.existsSync()) { Share.shareFiles([newPath], text: '${wallpaper.name}\n${wallpaper.description}'); } }
The text was updated successfully, but these errors were encountered:
AugustToko
No branches or pull requests
当分享一个大型壁纸
> 3mb
就会出现明显的卡顿。The text was updated successfully, but these errors were encountered: