open_file_manager
2.1.0, released 3 months ago by aubergine.co
A Flutter plugin to open the default system file manager app on Android and iOS.
What it does
Allows your app to open the native File Manager on Android (such as Downloads or Recent) or the Files app on iOS (to the app's Documents folder). You can also specify custom subdirectories or folder paths.
AI-written summary of version 2.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want users to view downloaded files inside the system file manager
- You need to open the app's documents directory directly in the iOS Files app
Skip it when
- You need to pick files within your app instead of launching an external app
- You require fine-grained file manipulation and reading inside Dart code
Strengths
- Simple API with platform-specific configurations
- Supports opening specific folder paths on both Android and iOS
Weaknesses
- Requires platform configuration on iOS (Info.plist)
- Limited to opening specific folders in external applications rather than file management inside the app
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
For iOS, you must add UISupportsDocumentBrowser to Info.plist and save at least one file to the app's Documents folder.
import 'package:open_file_manager/open_file_manager.dart';
openFileManager(
androidConfig: AndroidConfig(
folderType: AndroidFolderType.recent,
),
iosConfig: IosConfig(
folderPath: 'Reports/Sheets',
),
);Alternatives
Packages that do the same job and could replace open_file_manager.
- file_picker
Pick files or directories using native UI components instead of launching the standalone file manager application.
93Compare
Works with
Packages commonly used together with open_file_manager: ones it builds on, ones built on it, and its own family.