add flutter web support
teknolojia opened this issue · 4 comments
teknolojia commented
add flutter web support
jossef commented
Currently no.
Would you like to submit a PR to add flutter web support?
ianmaciel commented
What is missing for web support?
sehnryr commented
As said in https://api.dart.dev/stable/2.16.1/dart-io/dart-io-library.html, the dart:io library is not supported on web apps.
Important: Browser-based apps can't use this library. Only the following can import and use the dart:io library:
- Servers
- Command-line scripts
- Flutter mobile apps
- Flutter desktop apps
And since it a dependency of requests we cannot do much but wait until the dart team allows it.
And if dart does not support it, flutter will not either.
sehnryr commented
I'll try to remove the io
dependency by replacing it with http
which supports web applications.