Flutter 异常解析

问题描述

Try correcting the name to the name of an existing getter, or defining a getter or field named ‘xxx’.

问题分析

如果你是正在使用过程中突然出现的,或者更新了代码后出现的(git pull),那么你可以尝试使用如下命令重新运行:

flutter clean

然后再次进行运行:

flutter run

问题参考:


https://github.com/flutter/flutter/issues/24369

https://github.com/flutter/flutter/issues/22467

发表评论

关闭菜单