Expected a key while parsing a block mapping. | 66| - images/ | ^ | Please correct the pubspec.yaml file at C:\Users\users\Desktop\alcatraz\pubspec.yaml exit code 1
CodePudding user response:
In pubspec.yaml
file under scroll down to flutter
section and add your assets like this:
flutter:
uses-material-design: true
assets:
- image_path/image_name
CodePudding user response:
Here you can find official informations about the pubspec.yaml
.