Is it possible to keep the cache alive? #224
Unanswered
luthianovolters
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, thanks for this awesome package, it's helping me a lot!
I am using this package on flutter web to display an uploaded PDF file with
Uint8List
on a new screen, but it always clears the cache after the first build ofPdfViewer.data()
.Note 1: it only clears the
Uint8List
in the class and in my custom controller with Provider, but the string name is kept in both;Note 2: it only occurs with
PdfViewer
;Image.memory()
does not clear the data;Context of use: I'm looking for a solution to navigate to a new screen to display the PDF file and then return to the previous page so the user can save the file.
Need your help @espresso3389
Beta Was this translation helpful? Give feedback.
All reactions