You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 0.11.3+11 seemed to introduce this error. How I suspect this is described below.
Using stagehand simple-web, I scaffold a simple web application.
I add http: "0.11.3+9" as a dependency and import 'package:http/browser_client.dart';
The following code runs with no error:
main() async {
var client =newBrowserClient();
var response =await client.get('data.json');
print('Response status: ${response.statusCode}');
print('Response body: ${response.body}');
}
Changing dependency to http: "0.11.3+11" and re-running pub get yields the following error in the Dartium console:
The requested built-in library is not available on Dartium.'package:http/src/io_client.dart': error: line 6 pos 1: library handler failed
import 'dart:io';
^: package:http/src/io_client.dart
The text was updated successfully, but these errors were encountered:
Version
0.11.3+11
seemed to introduce this error. How I suspect this is described below.stagehand simple-web
, I scaffold a simple web application.http: "0.11.3+9"
as a dependency andimport 'package:http/browser_client.dart';
http: "0.11.3+11"
and re-runningpub get
yields the following error in the Dartium console:The text was updated successfully, but these errors were encountered: