Initial commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
谢宇宁
2026-11-05 10:38:11 +07:00
co-authored by Claude Opus 5.5
commit 2d26ea8f90
1071 changed files with 100151 additions and 0 deletions
@@ -0,0 +1,33 @@
library image_gallery_saver;
import 'dart:typed_data';
import 'package:image_gallery_saver_plus/image_gallery_saver_plus.dart';
class ImageGallerySaver {
static Future<dynamic> saveImage(
Uint8List imageBytes, {
int quality = 80,
String? name,
bool isReturnImagePathOfIOS = false,
}) async {
return await ImageGallerySaverPlus.saveImage(
imageBytes,
quality: quality,
name: name,
isReturnImagePathOfIOS: isReturnImagePathOfIOS,
);
}
static Future<dynamic> saveFile(
String file, {
String? name,
bool isReturnPathOfIOS = false,
}) async {
return await ImageGallerySaverPlus.saveFile(
file,
name: name,
isReturnPathOfIOS: isReturnPathOfIOS,
);
}
}