universal_file_viewer 0.1.2 copy "universal_file_viewer: ^0.1.2" to clipboard
universal_file_viewer: ^0.1.2 copied to clipboard

A Flutter package to preview images, videos, PDFs, Word, Excel, CSV, PPT, and more.

UniversalFileViewer - A Flutter package to preview various file types, including images, videos, PDFs, Word, Excel, CSV, and PowerPoint files on Android and iOS.

Features
✅ Image preview (JPG, PNG, GIF, BMP, TIFF) 
✅ Video playback (MP4, AVI, MOV, MKV)
✅ PDF viewer
✅ Word documents (.doc, .docx)
✅ Excel files (.xlsx)
✅ CSV file preview
✅ Text files (.txt, .md)
✅ PowerPoint files (.ppt, .pptx) - Upcoming
✅ Fallback to external app if unsupported

Installation #

Add this package to your pubspec.yaml:

dependencies:
  universal_file_viewer: latest_version

Example
UniversalFileViewer(filePath: '/sample.pdf'),

Example Video #

Future Enhancements
#

✅ More file format support
✅ Web support
✅ Better UI customization
✅ Encrypted file handling

License
#

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing
#

Contributions are welcome! Feel free to submit issues and pull requests.

⭐ If you like this package, consider giving it a star on Github 🚀

Buy me a coffee🍵

27
likes
150
points
220
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to preview images, videos, PDFs, Word, Excel, CSV, PPT, and more.

Homepage
Repository (GitHub)

Topics

#filepreviewer #widget #package

Documentation

API reference

License

MIT (license)

Dependencies

archive, docx_file_viewer, excel, flutter, markdown, open_file, path, path_provider, pdfrx, shimmer, video_player, webview_flutter, webview_flutter_web, xml

More

Packages that depend on universal_file_viewer