FLUTTER ECOSYSTEM

better_open_file

This is a fork from 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)

Latest version
3.6.5
30-day downloads
3.5K
Likes
42
Pub points
140

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

better_open_file is a Flutter plugin fork that enables opening files using native system apps across multiple platforms. It supports iOS via UTI, Android via Intent, desktop via FFI, and web through dart:html. The package returns a string result indicating the outcome of the operation, making it ideal for handling file launches in cross-platform applications. Designed for simplicity and broad compatibility, it extends the functionality of the original plugin with improved reliability and platform-specific features.

Use cases
  • Opening PDFs and documents in native apps
  • Launching files from within Flutter apps
  • Integrating file previews across platforms
  • Handling file types with custom handlers
  • Supporting file operations on mobile and desktop
Key features
  • Cross-platform file launching
  • String result feedback
  • Support for iOS UTI and Android Intent
  • Desktop integration via FFI
  • Web compatibility using dart:html
Suitable for
  • Developers building file-heavy apps
  • Apps requiring native file handling
  • Cross-platform file viewers
  • Educational or document management tools
  • Projects targeting iOS, Android, and desktop
Considerations
  • Requires platform-specific configuration
  • Limited to supported file types
  • May need additional permissions on some platforms
  • Web support depends on browser capabilities
  • Desktop support requires proper FFI setup
Supported platformsAndroidiOS

Install package

flutter pub add better_open_file

Categories

Source repository

Related projects

No data available yet.