when adding cloud_firestore to the dependencies of the project and press packages get or upgrade this error pop up
Running "flutter packages get" in alaganbyasta... Error on line 7, column 5 of pubspec.yaml: Expected a key while parsing a >block mapping. cloud_firestore: ^0.7.4 ^ pub get failed (65) Process finished with exit code 65
I tried to upgrade flutter itself but I modified date_picker.dart before so he asks me for commit before upgrading
my pubspec.yaml is
name: alaganbyasta
description: A new Flutter application.
dependencies:
flutter:
sdk: flutter
cloud_firestore: v0.7.4
cupertino_icons: ^0.1.2
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
pubspec.yaml
content. YAML is whitespace-sensitive. If you have wrong indentation you get such an error. – Günter Zöchbauer