Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'I...

Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'Iterable Function()'...

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

你可能感兴趣的:(Error: The argument type 'Null Function(StringBuffer)' can't be assigned to the parameter type 'I...)