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