title: How to display images from a external storage path in flutter?
body: <p>Im basically new to flutter. I want to display Images from specific path like "Storage/WhatsApp/Media/". I want to show all the images in grid view. How can i acheive this in flutter. I have seen many examples but everyone is using assets folder. This is the code for getting the path. How to display them in grid view?</p>
  
  <pre><code> Future&lt;String&gt; get localpath async
   {
    final dir=await getExternalStorageDirectory();
    return dir.path;
   }
  
   Future&lt;File&gt; get localfile async{
   final path=await localpath;
   return File('$path/WhatsApp/Media/WhatsApp Images');
  }
  
  Future&lt;String&gt; readData() async{
  try{
    final file=await localfile;
    String image_path=await file.readAsString();
    return image_path;
  }
  catch(e) {return e.toString();}
  }
  </code></pre>
  
  <p>Now since i got the path how to display images in gridview? Should i use gridview.builder?</p>