binSaed / flutter_cached_pdfview

Enhanced PDF view for Flutter.
https://pub.dev/packages/flutter_cached_pdfview
MIT License
121 stars 70 forks source link

Changing PDF background color #83

Closed Yahllil closed 1 month ago

Yahllil commented 2 years ago

Is there a way of changing the PDF's background color (instead of the default grey color)? And is there a way to snap the PDF to the top part of the widget, and avoid the vast "dead area" around the document?

SpirikleOfficial commented 1 year ago

Hi, I am also having the same issue of fixed background color. How can we get a way to change it?

myselfuser1 commented 1 year ago

This will help https://www.youtube.com/watch?v=gAUVz0U7eyA

aljohara556 commented 1 year ago

I also need a solution to that

teamacco commented 5 months ago

I’m interresting to that too

bonnybun commented 5 months ago

I just have added this parameter. Your can use this package

flutter_cached_pdfview:
    git:
      url: "https://github.com/bonnybun/flutter_cached_pdfview"

A pull request will be created soon, once PDFView project will accept my PR and will be updated

FlorianFlatscher commented 1 month ago

Hi, I am interested in this change too. What is the status on your behalf, is there anything stopping you from creating a PR?

bonnybun commented 1 month ago

Because flutter_cached_pdfview is based on flutter_pdfview I have already made a PR https://github.com/endigo/flutter_pdfview/pull/278 It needs to be merged first before creating a new one for this project

bonnybun commented 1 month ago

@FlorianFlatscher https://github.com/endigo/flutter_pdfview/pull/278 has been merged

I have created a new Pull Request flutter_cached_pdfview/pull/#110

FlorianFlatscher commented 1 month ago

@bonnybun Thank you, you are the best 🙏

binSaed commented 1 month ago

Solved in #110

version: 0.4.3