docman
1.2.0, released 2 years ago by devdf.com
Flutter plugin for file and directory operations on Android using SAF API.
What it does
Simplifies file and directory operations on Android devices using the Storage Access Framework (SAF) API. Provides pickers, app directory path retrieval, persisted permissions management, thumbnails generation, and custom DocumentsProvider implementation.
AI-written summary of version 1.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need advanced Android file and directory operations via Storage Access Framework (SAF).
- You need to pick files, directories, or visual media with persisted permissions.
- You need to generate thumbnails for images, videos, or PDFs on Android.
Skip it when
- You are building a cross-platform app requiring non-Android specific advanced storage operations without Android SAF focus.
- You only need basic temporary directories and already use path_provider.
Strengths
- Comprehensive Android SAF integration and document management.
- Persisted permissions management.
- No manifest permissions required for basic operations.
Weaknesses
- Android-specific features and implementation.
- Subject to Android storage access restrictions (e.g., Android 11+ limitations on root and data folders).
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Supports Android 5.0 (API level 21) and above. No manifest permissions are required for basic usage.
Future<Directory?> getCachedDir() => DocMan.dir.cache();
Future<DocumentFile?> pickDir() => DocMan.pick.directory();Alternatives
Packages that do the same job and could replace docman.
Works with
Packages commonly used together with docman: ones it builds on, ones built on it, and its own family.