title: Flutter app does not show the image - Unable to load asset
body: <p>I'm following a tutorial in flutter where I had to add an image file to the app, I did it like the example but when I run the app nothing shows.</p>
  <p>I tried to change and copy the path but the same result every time.
  I change the <code>pubspec.file</code> as explained.</p>
  <p>This is part of the code:</p>
  <pre><code>          Card(
              child: Column(
                children: &lt;Widget&gt;[
                  Image.asset('assets/images/download.jpg'),
                  Text('Food Paradise')
                ],
  </code></pre>
  <p>This is from the pubspec:</p>
  <pre><code>flutter:
    uses-material-design: true
  assets:
      - assets/images/download.jpg
  </code></pre>
  <p>This is from the RUN log:</p>
  <pre><code>  I/flutter (19491): ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE 
  ╞════════════════════════════════════════════════════
  I/flutter (19491): The following assertion was thrown resolving an image 
  codec:
  I/flutter (19491): Unable to load asset: assets/images/download.jpg
  I/flutter (19491): 
  I/flutter (19491): When the exception was thrown, this was the stack:
  I/flutter (19491): #0      PlatformAssetBundle.load 
  (package:flutter/src/services/asset_bundle.dart:221:7)
  I/flutter (19491): &lt;asynchronous suspension&gt;
  I/flutter (19491): #1      AssetBundleImageProvider._loadAsync 
  (package:flutter/src/painting/image_provider.dart:429:44)
  I/flutter (19491): &lt;asynchronous suspension&gt;
  I/flutter (19491): #2      AssetBundleImageProvider.load 
  (package:flutter/src/painting/image_provider.dart:414:14)
  I/flutter (19491): #3      ImageProvider.resolve.&lt;anonymous closure&gt;. 
  &lt;anonymous closure&gt; 
  (package:flutter/src/painting/image_provider.dart:267:86)
  I/flutter (19491): #4      ImageCache.putIfAbsent 
  (package:flutter/src/painting/image_cache.dart:143:20)
  I/flutter (19491): #5      ImageProvider.resolve.&lt;anonymous closure&gt; 
  (package:flutter/src/painting/image_provider.dart:267:63)
  I/flutter (19491): (elided 8 frames from package dart:async)
  I/flutter (19491): 
  I/flutter (19491): Image provider: AssetImage(bundle: null, name: 
  &quot;assets/images/download.jpg&quot;)
  I/flutter (19491): Image key: AssetBundleImageKey(bundle: 
  PlatformAssetBundle#49af1(), name:
  I/flutter (19491): &quot;assets/images/download.jpg&quot;, scale: 1.0)
  </code></pre>
  <p>The app is running but no image shows.</p>