I am getting errors while adding dependencies in the pubspec.yaml file in Flutter project.
Is there any tool or IDE/command line shortcut for editing/correcting/validating the White spaces in the pubspec.yaml file?
I am getting errors while adding dependencies in the pubspec.yaml file in Flutter project.
Is there any tool or IDE/command line shortcut for editing/correcting/validating the White spaces in the pubspec.yaml file?
To add a dependency you can do
flutter pub add dependencyname
For example http package run
flutter pub add http