
Recently I created a flutter project and opened the "YAML", getting some error from "YAML" extension. How can I solve this? Is the only solution to uninstall the extension or how to overcome this without uninstalling this extension?
Tried flutter clean, repair, etc. but nothing was helpful.
Errors are:
1 Incorrect type. Expected "string". yaml-schema: pubspec.yaml
2 Property flutter is not allowed. yaml-schema: pubspec.yaml
3 Property cupertino_icons is not allowed. yaml-schema: pubspec.yaml
4 Property flutter_test is not allowed. yaml-schema: pubspec.yaml
5 etc.
Using flutter version is 2.8.1
"YAML" (extension) version v1.5.0
I reload the YAML extension and the error gone
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With