📌  相关文章
📜  错误:未找到:'dart:html'导入'dart:html'; - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:36.697000             🧑  作者: Mango

代码示例1
Change import 'dart:html'; to import 'package:http/http.dart' as http;

and then change pubspec.yaml files dependencies to

dependencies:
flutter:
sdk: flutter
http:

and click pub get