Flutter plugin for selecting files from any devices file library, and taking a new pictures with the camera.


For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile and web development, and a full API reference.


First, add file_picker_pro as a dependency in your pubspec.yaml file.

In your flutter project add the dependency:


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

Setup Configuration


The Android implementation support to pick (multiple) images on Android 4.3 or higher.

  • If use image crop functionality, Add UCropActivity into your AndroidManifest.xml More info please check image_cropper.


Note: From v1.2.0, you need to migrate your android project to v2 embedding (detail)

No configuration required – the plugin should work out of the box. It is however highly recommended to prepare for Android killing the application when low on memory. How to prepare for this is discussed in the Handling MainActivity destruction on Android section to image_picker library. More info please check image_picker.

It is no longer required to add android:requestLegacyExternalStorage="true" as an attribute to the <application> tag in AndroidManifest.xml, as file_picker_plus has been updated to make use of scoped storage.


This plugin requires iOS 9.0 or higher.

The iOS implementation uses PHPicker to pick (multiple) images on iOS 14 or higher. As a result of implementing PHPicker it becomes impossible to pick HEIC images on the iOS simulator in iOS 14+. This is a known issue. Please test this on a real device, or test with non-HEIC images until Apple solves this issue. 63426347 – Apple known issue

Add the following keys to your Info.plist file, located in <project root>/ios/Runner/Info.plist:

  • NSPhotoLibraryUsageDescription – describe why your app needs permission for the photo library. This is called Privacy – Photo Library Usage Description in the visual editor.
  • NSCameraUsageDescription – describe why your app needs access to the camera. This is called Privacy – Camera Usage Description in the visual editor.
  • 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.


  • If use image crop functionality, Add following codes inside <head> tag in file web/index.html More info please check image_cropper.


  <!-- Croppie -->
  <link rel="stylesheet" href="" />
  <script defer src=""></script>
  <script src=""></script>


Note: file picked using the camera, gallery or file are saved to your application’s local cache, and should therefore be expected to only be around temporarily. If you require your picked image to be stored permanently, it is your responsibility to move it to a more permanent location.


Please follow this example here.

File Picker with default UI

  context: context,
  height: 100,
  fileData: _fileData,
  crop: true,
  maxFileSizeInMb: 10,
  allowedExtensions: Files.allowedAllExtensions,
  onSelected: (fileData) {
    _fileData = fileData;
  onCancel: (message, messageCode) {
    log("[$messageCode] $message");

Camera Picker

  fileData: _fileData,
  onSelected: (fileData) {
    _fileData = fileData;

Image Picker

  fileData: _fileData,
  onSelected: (fileData) {
    _fileData = fileData;

File Picker

  fileData: _fileData,
  onSelected: (fileData) {
    _fileData = fileData;


View Github