flutter_file_dialog
3.3.6, released 2 weeks ago by kineapps.com
Dialogs for picking and saving files and directories on Android and iOS.
What it does
Provides native dialogs to pick files, images, and directories, as well as save files to specific locations on Android and iOS. It handles interactions with storage providers and system pickers using Kotlin and Swift implementations.
AI-written summary of version 3.3.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to let users pick documents or images using native OS dialogs.
- You need to save files directly to user-selected locations or directories on Android or iOS.
Skip it when
- You need non-UI file system operations or generic file path utilities without dialogs.
- You are targeting platforms other than Android and iOS.
Strengths
- Supports directory picking and saving directly to picked directories on supported platforms.
- Allows setting file extension and MIME type filters.
- Modern Kotlin and Swift implementation with background thread safety for large files.
Weaknesses
- Limited to Android and iOS platforms.
- Imperative API pattern rather than reactive streams.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Requires Android API level 24 or later and iOS 13.0 or later.
final params = SaveFileDialogParams(sourceFilePath: "path_of_file_to_save");
final filePath = await FlutterFileDialog.saveFile(params: params);
print(filePath);Alternatives
Packages that do the same job and could replace flutter_file_dialog.
- file_picker
If you need a more full-featured file picker supporting multiple files, cross-platform targets, and custom storage paths.
93Compare
Works with
Packages commonly used together with flutter_file_dialog: ones it builds on, ones built on it, and its own family.