From 0a7188419f3e816d2b7b4f048e80a5e1b34e9edc Mon Sep 17 00:00:00 2001 From: Knot Date: Sat, 13 Apr 2024 16:16:50 +0700 Subject: [PATCH] change default quality to 100 --- lib/image_gallery_saver.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/image_gallery_saver.dart b/lib/image_gallery_saver.dart index ffb12f2..96deea1 100644 --- a/lib/image_gallery_saver.dart +++ b/lib/image_gallery_saver.dart @@ -11,7 +11,7 @@ class ImageGallerySaver { /// return Map type /// for example:{"isSuccess":true, "filePath":String?} static FutureOr saveImage(Uint8List imageBytes, - {int quality = 80, + {int quality = 100, String? name, bool isReturnImagePathOfIOS = false}) async { final result =