saveImage2Album static method
Future<SaveResult?>
saveImage2Album(
- ByteData bytes, {
- ImageByteFormat format = ImageByteFormat.png,
- String? fileName,
- int quality = 80,
将图片保存到相册,返回路径
Implementation
static Future<SaveResult?> saveImage2Album(ByteData bytes, {ImageByteFormat format = ImageByteFormat.png,
String? fileName, int quality = 80}) async {
return await saveBytes2Album(bytes.buffer.asUint8List());
}