unfreezePanes method
void
unfreezePanes()
Removes the existing freeze panes from the worksheet.
final Workbook workbook = Workbook();
final Worksheet worksheet = workbook.worksheets[0];
worksheet.getRangeByName('A1:H10').text = "Freeze panes";
worksheet.getRangeByName('B2').freezePanes();
worksheet.unfreezePanes();
final List<int> bytes = workbook.saveAsStream();
saveAsExcel(bytes, 'UnfreezePanes.xlsx');
workbook.dispose();
Implementation
void unfreezePanes() {
horizontalSplit = 0;
verticalSplit = 0;
topLeftCell = '';
isFreezePane = false;
}