title: Unable to load asset
body: <p>this is my pubspec.yaml file</p>
  
  <pre><code>flutter:
  
    # The following line ensures that the Material Icons font is
    # included with your application so that you can use the icons in
    # the material Icons class.
    uses-material-design: true
  
    # To add assets to your application, add an assets section, like this:
  
  
    assets:
    - assets/m1.jpg
    - assets/m2.jpg
    - assets/m3.jpg
    - assets/m4.jpg
    - assets/cat/m13.jpg
  </code></pre>
  
  <p>above images are working except this image</p>
  
  <pre><code>         - assets/cat/m13.jpg
  
  </code></pre>
  
  <p>I'm not getting errors in pubspec.yaml file, and running "flutter packages get" gives an exit code of 0.</p>
  
  <p>In HorizontalListView.dart I having following class</p>
  
  <pre><code>                  class _HorizontalListViewState extends State&lt;HorizontalListView&gt; {
    @override
    Widget build(BuildContext context) {
      return Container(
        height: 80.0,
        child: ListView(
          scrollDirection: Axis.horizontal,
          children: &lt;Widget&gt;[
            Category(
              image_location: " assets/cat/m13.jpg",
              image_caption: "shirts",
            ),
          ],
        ),
      );
    }
  }
  </code></pre>
  
  <p>The error I facing is</p>
  
  <pre><code>                    The following assertion was thrown resolving an image codec:
  I/flutter (17029): Unable to load asset:  assets/cat/m13.jpg
  I/flutter (17029):
  I/flutter (17029): When the exception was thrown, this was the stack:
  I/flutter (17029): #0      PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:221:7)
  I/flutter (17029): &lt;asynchronous suspension&gt;
  I/flutter (17029): #1      AssetBundleImageProvider._loadAsync (package:flutter/src/painting/image_provider.dart:484:44)
  I/flutter (17029): #2      AssetBundleImageProvider.load (package:flutter/src/painting/image_provider.dart:469:14)
  I/flutter (17029): #3      ImageProvider.resolve.&lt;anonymous closure&gt;.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:flutter/src/painting/image_provider.dart:327:17)
  I/flutter (17029): #4      ImageCache.putIfAbsent (package:flutter/src/painting/image_cache.dart:160:22)
  I/flutter (17029): #5      ImageProvider.resolve.&lt;anonymous closure&gt;.&lt;anonymous closure&gt; (package:flutter/src/painting/image_provider.dart:325:84)
  I/flutter (17029): (elided 13 frames from package dart:async)
  I/flutter (17029):
  I/flutter (17029): Image provider: AssetImage(bundle: null, name: " assets/cat/m13.jpg")
  I/flutter (17029): Image key: AssetBundleImageKey(bundle: PlatformAssetBundle#5adcb(), name: " assets/cat/m13.jpg",
  
  
  
  </code></pre>
  
  <p>Thanks in Advance</p>