shareMultipleImages static method
Implementation
static Future<void> shareMultipleImages(
List<Uint8List?> images,
String? text, {
String? title,
String? name,
}) async {
Map<String, List<int>> files = {};
for (var i = 0; i < images.length; i++) {
Uint8List data = images[i]!;
files['$i.png'] = data;
}
await ModernFormShareHelper.files(
title ?? '',
files,
name ?? 'image/png',
text: text ?? "",
);
}