Search packages, repositories and app categories

Package detailsv0.1.7

universal_file_viewer

A Flutter package to preview local and remote files with inline viewers and external fallback.

AndroidiOSmacOS
30-day downloads
767
Likes
42
Pub points
150

Install package

flutter pub add universal_file_viewer

Package Overview

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

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

Categories

Dependencies

Dependency list 10 items

Projects using this package

No data available yet.