firstPageNumber property
Represents the first page number to be used.
final Workbook workbook = Workbook();
final Worksheet sheet = workbook.worksheets[0];
sheet.getRangeByName('A1:M40').text = 'Hello';
sheet.pageSetup.firstPageNumber = 20;
final List<int> bytes = workbook.saveAsStream();
saveAsExcel(bytes, 'orientation.xlsx');
workbook.dispose();
Implementation
late int firstPageNumber;