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

fix: pdf's background color is now loaded by _pdfViewerThemeData #1976

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

f-dedecube
Copy link

As the title says, the background is no longer white by default but is now loaded from the theme data.

@VijayakumarMariappan VijayakumarMariappan added pdf viewer PDF viewer component open Open labels Jul 12, 2024
@immankumarsync
Copy link
Contributor

@f-dedecube, this makes the page color the same as the background color of the PDF viewer, leading to a poor user experience when scrolling through the pages using the scroll bar. By setting the background color to Colors.white, users can more clearly distinguish where each page begins and ends during scrolling.

Please find the comparison video recordings below,

Existing (Colors.white):

Screen.Recording.2024-08-19.105847.mp4

PR changes (_pdfViewerThemeData.backgroundColor):

Screen.Recording.2024-08-19.105817.mp4

@Deepak1799 Deepak1799 added invalid This doesn't seem right and removed open Open labels Aug 27, 2024
@Deepak1799 Deepak1799 added the waiting for customer response Cannot make further progress until the customer responds. label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right pdf viewer PDF viewer component waiting for customer response Cannot make further progress until the customer responds.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants