I\'m using JSON file and register in Pubspec.ymal but showing error and also when I use an image and register it, the same error also occurs. Maybe there is a f
Pubspec.ymal
It is because of the indentation of your code.The uses-material-design should be on the same line vertically as the assets:.
uses-material-design
assets:
uses-material-design: true assets: - images/picture.png