Open shawnlg opened 5 months ago
U can use this : pw.Center( child: pw.Icon(const pw.IconData(0xe3c6), size: 16), ),
also dont forget to aply this :
pdf.addPage(
// Page Ayarları
pw.MultiPage(
maxPages: 100,
theme: pw.ThemeData.withFont(
base: await PdfGoogleFonts.openSansRegular(),
bold: await PdfGoogleFonts.openSansBold(),
icons: await PdfGoogleFonts.materialIcons(), // this line
),
pageFormat: format,
orientation: pw.PageOrientation.portrait,
crossAxisAlignment: pw.CrossAxisAlignment.start,
build: (context) {
return FinalPDF;
}),
);
Describe the bug
I have a simple test PDF with a checkbox between two texts. Nothing appears but blank. To Reproduce Code snippet to reproduce the behavior:
Expected behavior
I tried many different parameters and I cannot display a checkbox. This is for a windows app
Desktop (please complete the following information):