David PHAM-VAN

Results 171 comments of David PHAM-VAN

Something is missing?

Yes, there is no alpha component in PDF. Use the Opacity widget instead.

Just run `flutter pub upgrade` to get the wrapper version 1.0.4 and you should be good to go with the latest Flutter stable.

What would be the reason to have newPageNeeded in the toplevel Widget? It could be part of NewPage only or in a mixin.

But for backward compatibility, if someone created a method with this name it will break their app.

You need to load an emoji font. Look at https://github.com/DavBfr/dart_pdf/blob/master/pdf/test/widget_text_test.dart#L362

The layoutPdf function's documentation is: /// Prints a Pdf document to a local printer using the platform UI /// the Pdf document is re-built in a [LayoutCallback] each time the...

Looks good to me. Please provide an implementation PR.

THe font files and other assets are downloaded using the makefile. usually you just run `make` on Linux. On macOS and Windows you might need to install that program.