As it says " Failed to bundle asset files. build failed."
If you have files inside the assets folder you have to add the correct path to locate. Example: if you have
assets/icons/files.png
assets/icons/files2.png
..etc files, then your assets section in "pubspec.yml" file should look similar to this:
assets:
- assets/icons/
Then it should work.