open_filex
5.0.0, released 5 weeks ago by buildtoapp.com
Plugin to open files via native apps, returning a string result
What it does
open_filex lets a Flutter app launch the appropriate native application to open a file and returns the result as a string. It supports iOS, Android, desktop (via ffi) and web.
AI-written summary of version 5.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to open a file with the default system app
- You want a simple cross‑platform solution without writing platform code
- You need to get a result string from the opened app
Skip it when
- You need to edit or read the file contents within Flutter
- You require fine‑grained file handling or custom file pickers
Strengths
- Cross‑platform support (iOS, Android, desktop, web)
- No extra dependencies beyond flutter and ffi
- Handles platform‑specific permissions and FileProvider setup
Weaknesses
- Requires native configuration on Android (FileProvider)
- iOS deployment target must be 13.0 or higher
- No built‑in file picking or editing features
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Add Android FileProvider XML and manifest entries; bump iOS deployment target to 13.0; no build_runner needed
import 'package:open_filex/open_filex.dart';
OpenFilex.open("/sdcard/example.txt");Alternatives
Packages that do the same job and could replace open_filex.
- open_file
Plugin to open local files with native apps across Android, iOS, web, desktop
71Compare - open_file_safe_plus
Open local files with the platform's native viewer/app from Flutter.
68Compare - open_file_plus
A Flutter plugin to call native applications to open files.
50Compare - better_open_file
Call native applications to open files with string results across platforms.
46Compare
Works with
Packages commonly used together with open_filex: ones it builds on, ones built on it, and its own family.
- ffiopen_filex depends on itUtilities for working with Foreign Function Interface (FFI) code in Dart.
- open_share_plusBuilt on open_filexFlutter plugin to share content via email, phone, WhatsApp, browser and system share UI.
- updaterBuilt on open_filexCheck for custom in-app updates and download APKs on Android.