packages.flutter
packages.flutter copied to clipboard
[pdfx] Blank pages when using controller to change page
Getting blank pages when using the controller to change page. Always seems to be on pages 4-8, or around that point.
Continuing past the blank pages eventually loads the ones behind.
It doesn't occur when swiping/scrolling through pages.
Changing zoom/scale on blank page seems to update the widget and eventually display the page.
It also fails to update the PdfPageNumber
widget when skipping to a page after a blank page
e.g.
Page 3 is blank > nextPage > Page 4 loads but PdfPageNumber
widget shows 3 of ...
I am having the same issue. I only seem to have the issue on PDFs longer than 2 pages.
If I navigate to the 3rd page, change apps, then change back to my app, the 3rd page appears as though it's been there from the start.
Sounds to me like some sort of refresh method is not being triggered correctly internally.