printing library

Classes

PdfDoc

Mixins

Printing

Functions

fontFromAssetBundle(String key, AssetBundle bundle) → Future<TtfFont>
Loads a font from an asset bundle key. If used multiple times with the same font name, it will be included multiple times in the pdf file
pdfImageFromImage({PdfDocument pdf, Image image }) → Future<PdfImage>
Loads an image from a Flutter ui.Image into a PdfImage instance
pdfImageFromImageProvider({PdfDocument pdf, ImageProvider image, ImageConfiguration configuration, ImageErrorListener onError }) → Future<PdfImage>
Loads an image from a Flutter ImageProvider into a PdfImage instance

Typedefs

LayoutCallback(PdfPageFormat format) → FutureOr<List<int>>