title: how do I create a progress bar in flutter firebase
body: <p>I am having trouble in creating a progress bar to indicate the process of me uploading an image to firebase storage.</p>
  
  <pre><code> Future getImage(BuildContext context) async {
      final picker = ImagePicker();
      final pickedFile = await picker.getImage(source: ImageSource.gallery);
      setState(() {
        _image = File(pickedFile.path);
      });
      StorageReference firebaseStorageRef = FirebaseStorage.instance.ref().child('profile/${Path.basename(_image.path)}}');
      StorageUploadTask uploadTask = firebaseStorageRef.putFile(_image);
      var dowurl = await (await uploadTask.onComplete).ref.getDownloadURL();   
       setState(() {    
         _imageURL = dowurl.toString();
  
       });
  
      print(_imageURL);
    } 
  </code></pre>
  
  <p>This is the code that I have written to upload the image and getting the image URL. 
  Hope someone can help me up thanks!</p>