Error: The argument type 'Null F

2019-05-09  本文已影响0人  至简天成
Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable<DiagnosticsNode> Function()'...

运行flutter项目时如果发生上述错误,请运行"flutter doctor"或者"flutter channel"检查当前渠道和对应的版本。如果渠道是master或者版本是1.5.9预览版等信息。
运行“flutter channel stable” 将渠道切换至稳定版后,运行"flutter upgrade"升级至渠道最新版本即可解决

上一篇 下一篇

猜你喜欢

热点阅读