title: I have a problem adding an image to a flutter project
body: <p>I am experimenting with a flutter web project (might not make a difference but worth mentioning), i want to add an image but i get an error every time i try,</p>
  <p>I have added the right assets to the pubspec.yaml file and the files are in the folder.</p>
  <p>i have tried restarting my ide, and flutter clean.
  There was no change at all.</p>
  <pre class="lang-dart prettyprint-override"><code>class _homePageState extends State&lt;homePage&gt; {
    @override
    Widget build(BuildContext context) {
      var textStyle = TextStyle(
                      color: Colors.black,
                      fontSize: 30,
                      fontWeight: FontWeight.w100,
                  );
                  
      return MaterialApp(
        debugShowCheckedModeBanner: false,
        theme: ThemeData(
          fontFamily: &quot;MontSerrat&quot;
        ),
  
        home: Scaffold(
          appBar: AppBar(
            backgroundColor: Colors.grey[400],
            title: Text(&quot;Example&quot;,
              style: TextStyle(
                color: Colors.black,
                fontSize: 40,
                fontWeight: FontWeight.w100,
              ),
            )
          ),
          body: 
          Container(
            color: Colors.grey[400],
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: &lt;Widget&gt;[
                Image.asset('assets/images/first_image.jpg')
              ],
            ),
          )
        ),
      );
    }
  }
  </code></pre>
  <p>the pubspec.yaml looks like:</p>
  <pre><code>name: epq_webapp
  description: An app built using Flutter for web
  
  environment:
    # You must be using Flutter &gt;=1.5.0 or Dart &gt;=2.3.0
    sdk: '&gt;=2.3.0-dev.0.1 &lt;3.0.0'
  
  dependencies:
    flutter_web: any
    flutter_web_ui: any
  
  dev_dependencies:
    build_runner: ^1.4.0
    build_web_compilers: ^2.0.0
    pedantic: ^1.0.0
  
  dependency_overrides:
    flutter_web:
      git:
        url: https://github.com/flutter/flutter_web
        path: packages/flutter_web
    flutter_web_ui:
      git:
        url: https://github.com/flutter/flutter_web
        path: packages/flutter_web_ui
  
  flutter:
    fonts:
    - family: MontSerrat
      fonts:
        - asset: assets\fonts\montserrat\Montserrat-Regular.ttf
  
    assets:
      - assets/
      - assets/images/first_image.jpg
  </code></pre>
  <p>i expect my code to display an image, however i get an error message,</p>
  <p>Unable to load asset: assets/images/first_image.jpg</p>