Hi, I have extended the current viewer and added few functionalities. For that I have created new widget PDFViewerV2, where
I use PageView to enable swipe gestures to view previous-next pages.
I load the pages only when requested by the user (first only page one is loaded and when user navigates, other pages are loaded as required.)
Already loaded pages are saved in the list, so does not require loading everytime
Disable navigation buttons when _pageNumber is 1 (disable previous and first page button), when _pageNumber equals widget.document.count (disable next and last page button)
Hi, I have extended the current viewer and added few functionalities. For that I have created new widget PDFViewerV2, where
PageView
to enable swipe gestures to view previous-next pages.