title: Flutter Error IMAGE: Unable to load asset
body: <p>I tried to get flutter pub get, tried several ways to add the image</p>
  <p>My pubspec.yaml</p>
  <pre><code>flutter:
  uses-material-design: true
  assets:  
  - assets/images/
  </code></pre>
  <p>Especific code in main.dart</p>
  <pre><code>     decoration: new BoxDecoration(        
                  image: DecorationImage(
                  image: AssetImage('assets/images/thermo.png'),
                  fit: BoxFit.fill,
                  ),
                  color: Color.fromRGBO(78, 144, 30, 1),                         
                  borderRadius: new BorderRadius.only(
                  topLeft: const Radius.circular(30.0),
                  topRight: const Radius.circular(30.0),
                  bottomLeft: const Radius.circular(30.0),
                  bottomRight: const Radius.circular(30.0),
                )        
              ),  
  </code></pre>
  <p>Debug Console</p>
  <pre><code>════════ Exception caught by image resource service ════════════════════════════
  The following assertion was thrown resolving an image codec:
  Unable to load asset: assets/images/thermo.png
  
  When the exception was thrown, this was the stack
  #0      PlatformAssetBundle.load
  package:flutter/…/services/asset_bundle.dart:225
  &lt;asynchronous suspension&gt;
  #1      AssetBundleImageProvider._loadAsync
  package:flutter/…/painting/image_provider.dart:668
  #2      AssetBundleImageProvider.load
  package:flutter/…/painting/image_provider.dart:651
  </code></pre>
  <p>The hierarchy of folders:</p>
  <p><a href="https://i.stack.imgur.com/VBf9K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VBf9K.png" alt="The hierarchy of folders" /></a></p>