我添加了一个带有两个选项的SimpleDialog:lost和found。每当我做出选择并被重定向到我想要的位置时,the SimpleDialog doesn't close and stays on my screen.交换机: switch ( context: context, title: new
我的问题很简单。我有基于数组是否有值的条件的Icons.add和Icons.remove。并且在flutter中使用.join()将该数组转换为字符串。如果我使用Stateful Builder from flutter,simpleDialog中的值会更新,因此图标会根据需要进行更改,但是我无法从调用dailog widget的屏幕中获得数据。现在我可以访问我想要的数据,只是图标没有更新。show