buehler / flutter_pdfium

Native library bindings for the PDFium library to be used in Flutter.
https://pub.dev/packages/flutter_pdfium
Apache License 2.0
0 stars 0 forks source link

Feature Request: Extend the example app to illustrate actual pdf/page rendering to a flutter widget #4

Open timmaffett opened 1 week ago

timmaffett commented 1 week ago

It would be very helpful to extend the example app to illustrate actual pdf page rendering/multiple page rendering to a flutter widget. (Using the RenderPageBitmap() method or whatever is appropriate). The widget(s) created for the example app would probably be generally useful added to the package itself. I understand now that this really is a low level bindings only to pdfium, but with a little more illustrative examples it would probably be generally helpful to many potential users.

Thank you for the time you have spent creating this package.

buehler commented 1 week ago

Hey @timmaffett

I just answered in the other issue #3 how that works.

In short: have a look at https://github.com/buehler/flutter_easy_pdfium (which I just now published). Especially in page.dart and document.dart.