我从应用程序中的SQLite数据库中获取数据,并将数据显示为列表,但当我获取值并尝试操作数据时,会收到以下错误 我得到了这个错误。type '_Uint8ArrayView' is not a subtype of type 'String' 我在上面展示了一些数据 FutureBuilder<List<QuestionModelsnapshot.error}'); else {
return Center(ch
我正在尝试使用flutter的FutureBuilder,并将http.get()作为未来的参数,如下所示: child: FutureBuilder(
future: http.get(Response>(dirty, state: _FutureBuilderState<Response>#0caa6): type 'Response' is not a subtype of type 'String' 据我所知,FutureBuilder需要类型<
我的应用程序昨天运行得很好,它在Timeline页面上正确地显示了帖子。但今天,当我再次打开项目并想继续处理它时,当我运行Debug应用程序时,它在Timeline页面上生成了一个错误:"type int is not a subtype of type String“。这是我的Timeline.dart文件: import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter
尽管我在模型和firebase中使用了字符串,但每次登录时,我都会收到错误消息"type null is not a subtype of type string“。有谁可以帮我?这是我的home_page.dart const HomePage({Key?id; final String tahunMasuk; fi
一旦按下这个图标按钮,就会打开一个howOkCancelAlertDialog,如果您单击ok,就会打开一个showTextInputDialog,将从键盘输入的输入分配给列表类型的输入变量。context.read<SettingsBloc>().changePassword(input as String);
我有一个列表,其中包含分配给用户的所有任务的列表,如下所示 @override crudObj.getassignedData().then((resultsof type 'String' of 'key'I/flutter ( 5594): Either the assertion indicates an error( 5594): http