我正在尝试构建一个包含聊天的应用程序,但出现错误消息是因为这一行: return FutureBuilder(
future: FirebaseAuth.instance.currentUser, The argument type 'User' can't be assigned to the parameter type 'Future'.
我正在使用dart,并且出现了这两个错误(参数类型'String‘不能分配给参数类型'Object? Function(Object?,Object?)?’。参数类型'JsonDecoder‘不能分配给参数类型'Map’。)convert' as convert;
import 'package:http/http.dart' as ht