flutter3.0整合dio

void main() async{
  Dio dio =  Dio();
  Response? response = await dio.get('http://127.0.0.1:8888/get_hot_question_list');
  print(response.data);
}

你可能感兴趣的:(flutter)