nc-photos/lib/mobile/android/share.dart

13 lines
363 B
Dart
Raw Normal View History

import 'package:flutter/services.dart';
class Share {
static Future<void> shareItems(
2021-07-23 22:05:57 +02:00
List<String> fileUris, List<String?> mimeTypes) =>
_channel.invokeMethod("shareItems", <String, dynamic>{
"fileUris": fileUris,
"mimeTypes": mimeTypes,
});
static const _channel = const MethodChannel("com.nkming.nc_photos/share");
}