title: How can I display Asset Images on Flutter web?
body: <p>When I try to display an asset in <strong>Flutter Web</strong> using the following syntax, no image is shown:</p>
  
  <pre class="lang-dart prettyprint-override"><code>Image.asset(
    'assets/image.png',
  )
  </code></pre>
  
  <p>On <em>mobile</em>, the same code will show an image.</p>
  
  <p>The structure is as follows:</p>
  
  <pre><code>assets
    image.png
  lib
    ...
  pubspec.yaml
  </code></pre>
  
  <p>In the Pubspec, I declare the asset like this:</p>
  
  <pre class="lang-yaml prettyprint-override"><code>flutter:
    assets:
      - assets/image.png
  </code></pre>