Flutter
The argument type 'Future< String>' can't be assigned to the parameter type 'String'.
类型错误解决办法
第一种
使用async和await
Future<Void> printDailyNewsDigest() async {
  String news = await gatherNewsReports();
  print(news);
}

第二种指定回调
在回调中进行处理
void printDailyNewsDigest() {
  final future = gatherNewsReports();
  future.then((news) => print(news));
}

Future String和Flutter-Error相关