universal_file_viewer 0.0.6 copy "universal_file_viewer: ^0.0.6" to clipboard
universal_file_viewer: ^0.0.6 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 (.xls, .xlsx) - Upcoming 
✅ CSV file preview - Upcoming
✅ PowerPoint files (.ppt, .pptx) - Upcoming
✅ Text files (.txt, .md) - 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'),

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. ContributingContributions are welcome! Feel free to submit issues and pull requests. ⭐ If you like this package, consider giving it a star on Github 🚀