谁能告诉我为什么我会在扑朔迷离中遇到这个毫无手感的异常错误?
未经手的例外:type'()=>窗口小部件不是类型的“字符串”类型
Unhandled Exception: type '() => Widget' is not a subtype of type 'String'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
再进一步提出IVO的评论,说您正在调用一个函数,该功能返回一个窗口小部件,它期待着一个普通的旧字符串。应该有一个行号,也许有一个可以单击的链接。无论何处,都可以查找返回小部件的功能,并找出您想在那里使用的字符串。
Taking Ivo's comment a little further, it's saying that you're calling a function that returns a widget where it's expecting a plain old string. There should be a line number specified, perhaps with a link you can click on. Wherever that is, look for the function that's returning a Widget and figure out what string you want to be using there.