Package selection guidance compiled from public package information, community data, and project usage.
A Flutter package that enables native PDF viewing on iOS and Android, supporting loading PDFs from various sources such as local paths, assets, or URLs. It automatically caches loaded PDFs to improve performance and reduce load times on subsequent visits. Designed for seamless integration with minimal setup, it ensures efficient resource management and smooth rendering of PDF documents across platforms.
Use cases
Displaying PDFs from local storage
Loading PDFs from network URLs
Rendering PDFs embedded in app assets
Caching frequently accessed PDFs
Offline PDF viewing after initial download
Key features
Supports multiple PDF sources (path, asset, URL)
Automatic caching of downloaded PDFs
Native rendering on iOS and Android
Efficient memory usage
Simple API for integration
Suitable for
Apps requiring offline PDF access
E-learning platforms with downloadable content
Document-heavy applications
Mobile apps with dynamic PDF content
Considerations
Requires internet access for remote PDFs
Cache management may need manual handling
Large PDFs may impact performance
Limited customization of PDF viewer UI
Platform-specific rendering differences
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
flutter_cached_pdfview
A package to show Native PDF View for iOS and Android, support Open from a different resource like Path, Asset or Url and Cache it.
Opt-in to the embedded views preview by adding a boolean property to the app's Info.plist file
with the key io.flutter.embedded_views_preview and the value YES.
iOS (only support> 11.0) you need to add this line in your ios/Podfile