Giter Site home page Giter Site logo

fainiteam / flutter_file_picker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from miguelpruivo/flutter_file_picker

0.0 0.0 0.0 15.86 MB

File picker plugin for Flutter, compatible with both iOS & Android and desktop (go-flutter).

License: MIT License

Java 42.13% Ruby 6.47% Objective-C 25.79% Dart 17.06% Go 8.55%

flutter_file_picker's Introduction

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 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.

  1. Installation
  2. Setup
  3. API
  4. Example App
  5. 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.