Search packages, repositories and app categories

Package detailsv5.0.0

open_filex

A plug-in that can call native APP to open files with string result in flutter, support iOS(UTI) / android(intent) / PC(ffi) / web(dart:html)

AndroidiOS
30-day downloads
715K
Likes
436
Pub points
150

Install package

flutter pub add open_filex

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

open_filex is a Flutter plugin that enables opening files using native system applications across multiple platforms. It supports iOS (via UTI), Android (via Intent), desktop (via FFI), and web (via dart:html), returning a string result indicating success or failure. The package simplifies file handling by leveraging platform-specific mechanisms to open documents, images, PDFs, and other file types seamlessly within the user's preferred app. Ideal for apps needing cross-platform file launching without reinventing native behavior.

Use cases

  • Opening PDFs and documents in native apps
  • Launching image files with default viewer
  • Supporting file sharing across platforms
  • Integrating with file pickers
  • Enabling document preview in apps

Key features

  • Cross-platform file opening
  • Native app integration on all platforms
  • String-based result feedback
  • Support for iOS UTI and Android Intent
  • Web and desktop via dart:html and FFI

Suitable for

  • Apps requiring file previews
  • Document management tools
  • File-sharing features
  • Multi-platform publishing apps
  • User-facing file interaction

Considerations

  • Requires proper file path handling
  • May need platform-specific permissions
  • Limited to supported file types
  • Depends on system app availability
  • Error handling required for unsupported formats

Categories

Dependencies

Dependency list 1 items

Projects using this package