file_picker_writable
2.2.0, released 7 weeks ago by codeux.design
Allows users to pick files with persistent permissions for reading and writing later.
What it does
A Flutter plugin enabling users to open, read, write back to, and create files on external media. It supports persistent permissions on Android and secure bookmarks on iOS.
AI-written summary of version 2.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to read and update files selected by the user across app restarts
- You need to create new files on external storage via user prompts
Skip it when
- You only need temporary sandboxed internal app storage
- You need full desktop support beyond URL event listening
Strengths
- Supports persistent file permissions on Android and secure bookmarks on iOS
- Handles open intents and file handlers from external apps
- Allows creating new files with custom names and directory selection
Weaknesses
- MacOS support is limited to listening for URL events
- Requires platform-specific configuration for file handlers and document browsers
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 5
Requires native configuration on iOS (plist keys) and Android (AndroidManifest intent filters) for file handlers.
Future<void> readFile() async {
final fileInfo = await FilePickerWritable().openFile((fileInfo, file) async {
return fileInfo;
});
}Alternatives
Packages that do the same job and could replace file_picker_writable.
- pasteboard
Read and write images, files, and text to the system clipboard across platforms.
92Compare - syncfusion_flutter_pdf
Native Dart library for creating, reading, editing, and securing PDF files.
89Compare - cross_file
An abstraction to allow working with files across multiple platforms.
90Compare - file_selector_macos
macOS implementation of the file_selector plugin
82Compare
Works with
Packages commonly used together with file_picker_writable: ones it builds on, ones built on it, and its own family.
- loggingfile_picker_writable depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- convertfile_picker_writable depends on itEncoders and decoders for converting between different data representations.
- path_providerfile_picker_writable depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- synchronizedfile_picker_writable depends on itLock mechanism to prevent concurrent access to asynchronous code.