Open LuisHer27 opened 7 months ago
same error: pw.Document pdf = pw.Document.load(PdfDocumentParser(localSource!.readAsBytesSync()),); pdf.editPage(controller.index, pw.Page(build:(context) { // return pw.Image(pw.ImageProxy(img, dpi: dpi)); // return pw.FullPage(ignoreMargins: true, child: pw.Image(pw.ImageProxy(img, dpi: dpi))); return pw.Center( child: pw.Text('hello word', textAlign: pw.TextAlign.center, textDirection: pw.TextDirection.ltr) ); },)); when the width bigger than heigh. resault is normal,but width less than height is error
Describe the bug
To Reproduce Code snippet to reproduce the behavior:
Expected expected_behavior.pdf behavior
Screenshots
Flutter Doctor
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context