shareXFiles static method
Implementation
static Future<void> shareXFiles(
List<XFile> file, {
String? subject,
String? text,
Rect? sharePositionOrigin,
}) async {
try {
await Share.shareXFiles(
file,
subject: subject,
text: text,
sharePositionOrigin: sharePositionOrigin,
);
} catch (e) {
LoggerService.logError('Error sharing shareXFile: $e');
}
}