minor refactor
This commit is contained in:
parent
c144c21d88
commit
97e5a46ad9
|
@ -20,7 +20,7 @@ Since we are using *image_picker* as a dependency from this plugin to load paths
|
|||
* `NSMicrophoneUsageDescription` - describe why your app needs access to the microphone, if you intend to record videos. This is called _Privacy - Microphone Usage Description_ in the visual editor.
|
||||
|
||||
## To-do
|
||||
* [X] Load paths from local files & cloud (GDrive, Dropbox, iCloud)
|
||||
* [X] Load paths from **cloud files** (GDrive, Dropbox, iCloud)
|
||||
* [X] Load path from **PDF**
|
||||
* [X] Load path from **gallery**
|
||||
* [X] Load path from **camera**
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: file_picker_example
|
||||
description: Demonstrates how to use the file_picker plugin.
|
||||
description: An example of how to use the file_picker plugin.
|
||||
|
||||
# The following defines the version and build number for your application.
|
||||
# A version number is three numbers separated by dots, like 1.2.43
|
||||
|
|
|
@ -32,6 +32,8 @@ class FilePicker {
|
|||
return _getPath('PDF');
|
||||
case FileType.VIDEO:
|
||||
return _getPath('VIDEO');
|
||||
case FileType.ANY:
|
||||
return _getPath('ANY');
|
||||
default:
|
||||
return _getPath('ANY');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue