title: Must I download image from Firebase to display it?
body: <p>I am using Flutter and Firebase. I have managed to upload user profile photos to teh Firebase Storage using a scheme like this:</p>
  
  <p>users/userid.png</p>
  
  <p>So far, whenever I need to display the user profile image, I have to download it first to local; like </p>
  
  <pre><code>final String fileName = uid + ".png";
  
  Directory appDocDir = await getTemporaryDirectory();
  
  String appDocPath = appDocDir.path;
  final File file = File('$appDocPath/$fileName');
  // clears the file
  file.writeAsStringSync("");
  final StorageReference ref = FirebaseStorage.instance.ref().child('users/' + fileName);
  
  final StorageFileDownloadTask downloadTask = ref.writeToFile(file);
  
  final int byteNumber = (await downloadTask.future).totalByteCount;
  
  print("byteNumber : ${byteNumber}");
      } catch(e) {
        return null;
      }
  </code></pre>
  
  <p>However, I was wondering if I can just skip the step and just use NetworkImage() function like:</p>
  
  <pre><code>final StorageReference ref = FirebaseStorage.instance.ref().child('users/' + user.uid + ".png");
  String downloadURL = await ref.getDownloadURL();
  
  downloadURL = Uri.decodeFull(downloadURL.toString());
  print("FB Storage URL: $downloadURL");
  
  
  return new NetworkImage(downloadURL);
  </code></pre>
  
  <p>It doesn't work and throws an exception.</p>
  
  <p>What I am trying to do; is it possible?</p>