我在我的应用程序中使用了tflite包,在程序的一部分中,我得到了一个type 'String' is not a subtype of type 'int' of 'index'错误。现在,在这行,当我写_output[0]['label']的时候,显示了这个错误。但是如果我写了_output[0][0],错误就会消失,但会显示一个随机
我的应用程序昨天运行得很好,它在Timeline页面上正确地显示了帖子。但今天,当我再次打开项目并想继续处理它时,当我运行Debug应用程序时,它在Timeline页面上生成了一个错误:"type int is not a subtype of type String“。这是我的Timeline.dart文件: import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:<e
我是一个颤振初学者,我目前正在跟随一个教程来构建一个任务规划师()
在手动重写代码(数据库等)之后,当我重新启动应用程序以显示我在调试控制台中保存到数据库中的项时,我在使用initstate和setstate时遇到了一个错误。Unhandled Exception: type 'String' is not a subtype of type 'int' of 'index'
我需要将我的json response解析为一个list到我的模型对象类,但是我一直收到这个错误:
type 'String' is not a subtype of type 'int' of 'index我是我在我的模型类中的变量声明的问题,所以我将它们改为dynamic,但仍然对我不起作用。this.email, this.phone_call, this.video_call,