Skip to content
pubscout

easy_folder_picker

1.3.4, released 2 years ago by kapil.info.np

Easy directory picker and folder creation tool for Flutter on Android.

$ flutter pub add easy_folder_picker
Source repository

What it does

Allows users to pick directories and create new folders within a Flutter application. Handles permission requests required for storage access on Android.

AI-written summary of version 1.3.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to let users select directories on Android
  • You need folder creation functionality inside your folder picker
  • You want a simple folder selection dialog with automatic permission checks

Skip it when

  • You need cross-platform support for iOS, Web, or Desktop (supports Android only)
  • You need to pick individual files instead of directories

Strengths

  • Includes folder creation support
  • Handles runtime storage permissions out of the box
  • Simple API with a clear dialog usage pattern

Weaknesses

  • Only supports Android
  • Requires manual configuration of native AndroidManifest permissions and legacy storage flags

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
2

Requires adding READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions to android/app/src/main/AndroidManifest.xml, and handling Android 10/11 storage flags and runtime permissions.

Future<void> _pickDirectory(BuildContext context) async {
  Directory directory = selectedDirectory;
  if (directory == null) {
    directory = Directory(FolderPicker.ROOTPATH);
  }

  Directory newDirectory = await FolderPicker.pick(
      allowFolderCreation: true,
      context: context,
      rootDirectory: directory,
      shape: RoundedRectangleBorder(
          borderRadius: BorderRadius.all(Radius.circular(10))));
  setState(() {
    selectedDirectory = newDirectory;
    print(selectedDirectory);
  });
}

Alternatives

Packages that do the same job and could replace easy_folder_picker.

Works with

Packages commonly used together with easy_folder_picker: ones it builds on, ones built on it, and its own family.