LayoutCallback typedef
LayoutCallback =
FutureOr<Uint8List> Function(PdfPageFormat format)
Callback used to generate the Pdf document dynamically when the user changes the page settings: size and margins
Implementation
typedef LayoutCallback = FutureOr<Uint8List> Function(PdfPageFormat format);