final commit

This commit is contained in:
2023-09-09 00:30:56 +02:00
parent 2813e72647
commit 42155d9e31
10 changed files with 432 additions and 72 deletions

View File

@@ -32,6 +32,13 @@ enum FallbackIconType {
notes;
}
enum FilePickerType {
image,
video,
imageAndVideo,
generic,
}
@HostApi()
abstract class MoxplatformApi {
/// Platform APIs
@@ -50,4 +57,8 @@ abstract class MoxplatformApi {
/// Media APIs
bool generateVideoThumbnail(String src, String dest, int maxWidth);
/// Picker
@async
List<String> pickFiles(FilePickerType type, bool pickMultiple);
}