Flutter for Web

622 views
Skip to first unread message

Sreekanth Reddy

unread,
Nov 27, 2019, 9:17:23 AM11/27/19
to Flutter Development (flutter-dev)
When using the flutter http package and calling the remote data, I am able to get the data and render it on Android and iOS (Mobile). But when the same code is run on Web (-d chrome), it gives "Unsupported operation: Platform._version" error. Can anyone let me know, is there anything that I am missing out?

I am using HttpClient object and calling the url using client.getUrl() method. It doesnt seem like getting the response on the Web.

Jan Regent

unread,
Nov 27, 2019, 10:56:25 AM11/27/19
to Flutter Development (flutter-dev)
I use DIO package with Flutter_web very well
https://pub.dev/packages/dio
Reply all
Reply to author
Forward
0 new messages