file_picker 1.13.0+1 copy "file_picker: ^1.13.0+1" to clipboard
file_picker: ^1.13.0+1 copied to clipboard

outdated

A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extension filtering support.

fluter_file_picker

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 directory
  • Load path from any
  • Create a File or List<File> 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 feel free to issue a suggestion. 🎉

Documentation #

See the File Picker Wiki for every detail on about how to install, setup and use it.

File Picker Wiki #

  1. Installation
  2. Setup
  3. API
  4. Troubleshooting

Usage #

Quick simple usage example:

Single file

File file = await FilePicker.getFile();

Multiple files

List<File> files = await FilePicker.getMultiFile();

Multiple files with extension filter

 List<File> files = await FilePicker.getMultiFile(
          type: FileType.custom,
          allowedExtensions: ['jpg', 'pdf', 'doc'],
        );

For full usage details refer to the Wiki above.

Example App #

Demo DemoMultiFilters

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

4458
likes
0
pub points
100%
popularity

Publisher

verified publishermiguelruivo.com

A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extension filtering support.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

file_picker_platform_interface, flutter, flutter_plugin_android_lifecycle

More

Packages that depend on file_picker