mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 17:26:18 +01:00
12 lines
357 B
Dart
12 lines
357 B
Dart
import 'package:flutter/services.dart';
|
|
|
|
class Share {
|
|
static Future<void> shareItems(
|
|
List<String> fileUris, List<String?> mimeTypes) =>
|
|
_channel.invokeMethod("shareItems", <String, dynamic>{
|
|
"fileUris": fileUris,
|
|
"mimeTypes": mimeTypes,
|
|
});
|
|
|
|
static const _channel = MethodChannel("com.nkming.nc_photos/share");
|
|
}
|