A Flutter package that enables seamless previewing of local and remote files using inline viewers when supported, falling back to external apps for unsupported formats. It simplifies file visualization across platforms by automatically detecting file types and selecting the appropriate viewer. Ideal for apps needing robust file handling without complex integration. The package supports Android, iOS, and macOS, ensuring cross-platform consistency.
Use cases
- Previewing documents in apps
- Viewing images and PDFs inline
- Handling remote file links
- Integrating file previews in document managers
- Enabling offline file viewing
- Supporting multiple file types in one interface
Key features
- Inline file viewing for supported formats
- Automatic fallback to external apps
- Cross-platform support (Android, iOS, macOS)
- Remote and local file compatibility
- Simple API with minimal setup
- Type-based viewer selection
Suitable for
- Document management apps
- Educational apps with file sharing
- Internal tools for file inspection
- Apps requiring file previews without full rendering
- Developers seeking a lightweight file viewer
Considerations
- External app fallback may vary by platform
- Some file types require additional permissions
- Limited customization for inline viewers
- Depends on system-level app availability
- Not suitable for high-performance rendering
- May need manual configuration for specific file types