Home > front end >  Flutter error while adding images(assets)
Flutter error while adding images(assets)

Time:10-07

I am trying to add images to my flutter app via assets. enter image description here

enter image description here

CodePudding user response:

You are doing wrong thing in pubspace.yaml. Maintain whitespaces as shown in below

flutter:
  assets:
    - assets/
  • Related