📅  最后修改于: 2022-03-11 14:59:36.697000             🧑  作者: Mango
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