-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network Support #26
Comments
any plans for this enhancement ? |
Using flutter_cache_manager, it is very easy to implement the feature. The code might be like the following fragment: FutureBuilder<File>(
future: DefaultCacheManager().getSingleFile(url),
builder: (context, snapshot) => snapshot.hasData ? PdfViewer.file(snapshot.data.path) : Container(/* some placeholder */)
) Because the feature is so easy to implement and I don't make the plugin larger, I don't want to implement this on the plugin. |
On 1.0.9, I updated README.md to explain the missing networking feature and also the example code has sample usage (for macOS but it also works on every platform). |
This is a lovely plugin, awesome work! Can you please try to include the support to render pdf files by fetching them from network/url?
The text was updated successfully, but these errors were encountered: