Skip to content
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

Viewer V2 #63

Closed
wants to merge 83 commits into from
Closed

Viewer V2 #63

wants to merge 83 commits into from

Conversation

lohanidamodar
Copy link

Hi, I have extended the current viewer and added few functionalities. For that I have created new widget PDFViewerV2, where

  1. I use PageView to enable swipe gestures to view previous-next pages.
  2. 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.)
  3. Already loaded pages are saved in the list, so does not require loading everytime
  4. 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants