ImageGallerySaver class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
saveFile(String file, {String? name, bool isReturnPathOfIOS = false})
→ Future
-
Save the PNG,JPG,JPEG image or video located at
file
to the local device media gallery.
-
saveImage(Uint8List imageBytes, {int quality = 80, String? name, bool isReturnImagePathOfIOS = false})
→ FutureOr
-
save image to Gallery
imageBytes can't null
return Map type
for example:{"isSuccess":true, "filePath":String?}