bottomMargin property

double bottomMargin
getter/setter pair

Represents the size of the bottom margin, in inches

final Workbook workbook = Workbook();
final Worksheet sheet = workbook.worksheets[0];
sheet.getRangeByName('A1:M20').text = 'Hello';
sheet.pageSetup.topMargin = 1;
sheet.pageSetup.leftMargin = 1;
sheet.pageSetup.rightMargin = 1;
Sets the value of the bottom margin
sheet.pageSetup.bottomMargin = 1;
sheet.pageSetup.footerMargin = 1;
sheet.pageSetup.headerMargin = 1;
final List<int> bytes = workbook.saveAsStream();
saveAsExcel(bytes, 'bottomMargin.xlsx');
workbook.dispose();

Implementation

late double bottomMargin;