Elvin Opara
Elvin Opara

Reputation: 243

Flutter excel package cannot read Excel file created in Go with Excelize

I have an Excel file generated with the Excelize package in Go. I also have a Flutter app that tries to read this Excel file using the excel package.

This fails during encoding in the line below

var excel = Excel.decodeBytes(bytes);

I get the following error:

Exception has occurred. _TypeError (Null check operator used on a null value)

When I open the same Excel file using Microsoft Excel and save, then try to open it again with the Flutter excel package, it works.

Can someone help explain and if possibly provide a solution?

Upvotes: 2

Views: 163

Answers (0)

Related Questions