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

Any reason this won't work with Flutter Web? #48

Open
EricPHassey opened this issue Jun 26, 2021 · 2 comments
Open

Any reason this won't work with Flutter Web? #48

EricPHassey opened this issue Jun 26, 2021 · 2 comments

Comments

@EricPHassey
Copy link

Didn't see Web listed, any compatibility issues with using this for web?

@nilsreichardt
Copy link

I think it's because they are using dart:io:

dart:io is not available for Flutter Web. Instead, you need to use dart:html

This package could help: https://pub.dev/packages/cross_file

@nidegen
Copy link

nidegen commented Aug 4, 2021

I think the issue is the lacking web support for sqflite. There is an alternative (an sql wrapper) that supports web: https://pub.dev/packages/moor

would be nice to switch to that

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

3 participants