simple_pdf_generator 0.2.3
simple_pdf_generator: ^0.2.3 copied to clipboard
A lightweight Flutter package to generate PDFs from structured data.
0.2.3 #
- Added
PdfSection,PdfTableRow, and optionalsectionsonSimplePdf.generateto render multiple tables side by side in one row (equal column widths, configurable horizontal/vertical spacing). - Strict layout validation: throws
StateErrorwith messageTables exceed available width in PdfTableRow. Reduce columns or number of tables.when estimated minimum width for any table in the row exceeds its share of the page body width. PdfTablenow extendsPdfSection; existingtables/tableusage is unchanged.
0.2.2 #
- Added page orientation support in
SimplePdf.generate: portrait (default) and landscape viapageLandscape. - Added
pageFormatoverride support for custom page sizes/formats; when set, it takes priority overpageLandscape.
0.2.1 #
- Table cells: added
PdfTableCellwithPdfTableCell.textandPdfTableCell.imageso rows can mix Unicode text (theme font) and raster images (Uint8List, e.g. PNG). PlainStringand rawUint8Listmap values remain supported for backward compatibility. - Default max image size in table cells is 40×40 PDF points when not specified; optional Flutter
BoxFitmaps to thepdfpackage layout.
0.1.1 #
- Added support for multiple tables
- Added per-table summary sections
- Added table header styling
- Added table cell styling
- Added summary styling