Dio: Support flutter web

Created on 25 May 2019  ·  9Comments  ·  Source: flutterchina/dio

Any plan to support flutter for web?

stale

Most helpful comment

@vanlooverenkoen That's not about flutter dependencies. Flutter_web doesn't support using dart:io package so that we should use dart:html instead. I think using condition import to seprate the dependencies is a good choice. Refer to official http package.

All 9 comments

flutter for web compile fail, me too

Yes it would be pretty helpful if we were also able to use dio on the web. It has a good design

Flutter web is currently in a separate package. I will be merged into the flutter core package when stable. I think if you want to use dio at this point you will have to fork dio and remove the flutter dependencies and add the flutter_web dependencies

@vanlooverenkoen That's not about flutter dependencies. Flutter_web doesn't support using dart:io package so that we should use dart:html instead. I think using condition import to seprate the dependencies is a good choice. Refer to official http package.

did u get any solution

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions.

@kapil708 not yet. Use official http library instead

还没支持就关闭本issues了?

:octocat: From gitme iOS

How is the status. The GET goes out, but doesn't return

Was this page helpful?
0 / 5 - 0 ratings

Related issues

codeThe0 picture codeThe0  ·  6Comments

keluokeda picture keluokeda  ·  3Comments

Dmitry-N-Medvedev picture Dmitry-N-Medvedev  ·  3Comments

DNetORM picture DNetORM  ·  4Comments

developerandre picture developerandre  ·  6Comments