Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black screen while _workbook = await Excel.decodeBytes(_fileContentInBytes); #44

Closed
wpepen opened this issue Aug 12, 2020 · 1 comment
Closed

Comments

@wpepen
Copy link

wpepen commented Aug 12, 2020

Hi! I would like your support on this.

The package works fine, however is see a 'black screen' while executing the following code:

Excel _workbook = await Excel.decodeBytes(_fileContentInBytes);

It remains about 3 or 4 seconds while processing the file content, and I believe it is because of the file size.

Is there any possibility to show a 'pop up' and say processing, or present something different than the black screen?

Thanks in advance

@justkawal
Copy link
Owner

Thanks for letting me know about this.

But As I can see that it will be easy for you to do that by your own on the flutter side with the combinational use of async, await and progress dialog and then as soon as the async call from the Excel library returns then hide the dialog and do your stuff.

As Excel only helps you in providing api to interact with the excel files with the use of dart core codes,

we don't depend on flutter for anything. So, showing a message or anything that includes rendering is not possible.

Closing the issue as this seems to be resolved or it should be asked on stack-overflow for doubts regarding flutter.

If you find out any bug or problem in using Excel then do let us know about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants