Archived
final commit
This commit is contained in:
1 parent
2813e72647
commit
42155d9e31
10 files changed
+432
-72
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user