-
-
Notifications
You must be signed in to change notification settings - Fork 889
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
Offline support for images #172
Comments
Could you please tell me where is this branch that you have mentioned? I can see only one "new-parser" branch in this repository. |
I had to fork to be able to proceed with my project: See here: Its working correctly in my application, |
Thank you for the information, and sorry for late reply, I got distracted by other things :-D . |
@LeeMatthewHiggins this supports cached image network?? Do you have demo example. |
I have an application who's user base has patchy internet. The application has a download sync function for offline use. At the moment the RichTextParser uses a standard network image, and so will not work offline. I am using cachedNetworkImage in other places in my application to allow offline images. I have tried using the custom render function, however this does not work when using the rich text parser, which I need for the application.
I first added the CachedNetworkImage widget in place of the NetworkImage, this worked well, but added a dependency of the flutter_cache lib. I have refactored to simply expose a custom render function specifically for the image tag. This makes adding a customer image renderer very simple and adds no extra dependencies to flutter_html.
I have a branch with the changes.
The text was updated successfully, but these errors were encountered: