Android、iOS、Web、macOS、Windows で PDF サムネイルを表示するための Flutter パッケージです。単にウィジェットを追加し、ファイルパスを指定することで、開発者がアプリにサムネイルビューアーを簡単に統合できます。このパッケージは軽量であり、複雑な設定なしに PDF ページプレビューをスムーズにレンダリングすることを目的としています。ドキュメント管理アプリや PDF コンテンツへの迅速な視覚的アクセスが必要なアプリに最適です。
There is a detailed example app in the repo, but I've deleted iOS and Android folders.
Simple go to example folder, and run flutter create . inside the folder to add missing native files for the example app.
Demo
Caching ⏲
I left caching part unopinionated to keep the package simple. Just create your own class from ImageThumbnailCacher and implement the read/write methods.
Holding images as Uint8List, so Map<int, Uint8List> is what's need to be written to and read from the cache. It maps page numbers to the images.