title: How to check if image is available else download and display in Flutter?
body: <p>I am making an app which shows the cryptocurrency market but I want to show icons as well, so if I manually add the icons in the pubspec as assets and then display them, it's going to take a lot of time, about 10 hours. So I resolved to automation. </p>
  
  <p>Can someone explain how to implement the following in Flutter?
   OR provide me with a better solution?</p>
  
  <pre><code>try {
   //get image from file
  } catch ( exception ) {
   //download image
   //get image from file
  }
  </code></pre>