Open kuoaid opened 3 weeks ago
Update - a workaround is to use another package such as spreadsheet_decoder in case of excel package errors. I can decode the excel sheet normally with the other package, extract the data, and reconstruct the Excel object so the rest of my project does not require migration.
Still curious though what causes this bug.
Platform: iOS
Issue: On select files with multiple sheets, the package's code throws a null check on null error.
Steps to reproduce:
Load the file test_excel_file (test_excel_file.xlsx). It has 2 sheets. You will get:
This points to issues with these lines' null check:
However, loading test_excel_file_single (test_excel_file_single.xlsx), which has only one sheet, yields no issue. It still uses the paths to locate the file, as before. If file_picker is specified to include data, the uint8list is used but the overall behavior does not change.
Loading this file - car_service_mods_worksheet 3.xlsx, which has 2 sheets, has no issues. It still uses paths. car_service_mods_worksheet 3.xlsx
Please respond with any insights! Thanks in advance.