Mapping values are not allowed here. Did you miss a colon earlier?
`出现类似上面类似的问题解决方法:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
web_socket_channel: ^1.0.12
将依赖写到web_socket_channel 这个位置并且与cupertino_icons对齐然后保存就可以了。如果没更新过来可以重启编译工具试试。我的问题就是这样解决的。