bottom property
double
get
bottom
Gets or sets the bottom margin size.
//Creates a new PDF document.
PdfDocument document = PdfDocument()
//Create and set new PDF margin.
..pageSettings.margins = (PdfMargins()
..left = 20
..right = 40
..top = 100
..bottom = 100)
..pages.add().graphics.drawString(
'Hello World!', PdfStandardFont(PdfFontFamily.helvetica, 12));
//Saves the document.
List<int> bytes = await document.save();
//Dispose the document.
document.dispose();
Implementation
double get bottom => _bottom;
set
bottom
(double value)
Implementation
set bottom(double value) {
if (_bottom != value && !_helper.isPageAdded) {
_bottom = value;
}
}