saveImage method
Save image to gallery
imageBytes
The image data to save
quality
The image quality (1-100)
name
Optional custom filename
isReturnImagePathOfIOS
Whether to return the file path on iOS
skipIfExists
Skip saving if file with same name exists
androidRelativePath
Custom subfolder path for Android
Implementation
Future<Map<String, dynamic>> saveImage(
Uint8List imageBytes, {
int quality = 80,
String? name,
bool isReturnImagePathOfIOS = false,
bool skipIfExists = false,
String? androidRelativePath,
}) {
throw UnimplementedError('saveImage() has not been implemented.');
}