![fluter_file_picker](https://user-images.githubusercontent.com/27860743/64064695-b88dab00-cbfc-11e9-814f-30921b66035f.png)

File Picker Awesome Flutter Build Status Buy me a coffee

# File Picker A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extensions filtering support. ## Currently supported features * Load paths from **cloud files** (GDrive, Dropbox, iCloud) * Load path from a **custom format** by providing a list of file extensions (pdf, svg, zip, etc.) * Load path from **multiple files** optionally, supplying file extensions * Load path from **media** (video & image only) * Load path from **audio** only * Load path from **image** only * Load path from **video** only * Load path from **any** * Create a `File` or `List` objects from **any** selected file(s) * Supports desktop through **go-flutter** (MacOS, Windows, Linux) If you have any feature that you want to see in this package, please add it [here](https://github.com/miguelpruivo/plugins_flutter_file_picker/issues/99). 🎉 ## Documentation See the **[File Picker Wiki](https://github.com/miguelpruivo/flutter_file_picker/wiki)** for every detail on about how to install, setup and use it. 1. [Installation](https://github.com/miguelpruivo/plugins_flutter_file_picker/wiki/Installation) 2. [Setup](https://github.com/miguelpruivo/plugins_flutter_file_picker/wiki/Setup) * [Android](https://github.com/miguelpruivo/plugins_flutter_file_picker/wiki/Setup#android) * [iOS](https://github.com/miguelpruivo/plugins_flutter_file_picker/wiki/Setup#ios) * [Desktop (go-flutter)](https://github.com/miguelpruivo/plugins_flutter_file_picker/wiki/Setup/_edit#desktop-go-flutter) 3. [API](https://github.com/miguelpruivo/plugins_flutter_file_picker/wiki/api) * [Filters](https://github.com/miguelpruivo/plugins_flutter_file_picker/wiki/API#filters) * [Methods](https://github.com/miguelpruivo/plugins_flutter_file_picker/wiki/API#methods) 4. [Example App](https://github.com/miguelpruivo/flutter_file_picker/blob/master/example/lib/src/file_picker_demo.dart) 5. [Troubleshooting](https://github.com/miguelpruivo/flutter_file_picker/wiki/Troubleshooting) ## Usage Quick simple usage example: #### Single file ``` File file = await FilePicker.getFile(); ``` #### Multiple files ``` List files = await FilePicker.getMultiFile(); ``` #### Multiple files with extension filter ``` List files = await FilePicker.getMultiFile( type: FileType.custom, allowedExtensions: ['jpg', 'pdf', 'doc'], ); ``` For full usage details refer to the **[Wiki](https://github.com/miguelpruivo/flutter_file_picker/wiki)** above. ## Example App ![Demo](https://github.com/miguelpruivo/plugins_flutter_file_picker/blob/master/example/example.gif) ![DemoMultiFilters](https://github.com/miguelpruivo/plugins_flutter_file_picker/blob/master/example/example_ios.gif) ## Getting Started For help getting started with Flutter, view our online [documentation](https://flutter.io/). For help on editing plugin code, view the [documentation](https://flutter.io/platform-plugins/#edit-code).