How to get upload / download progress for http requests in flutter?

Posted by Jennifer | Updated on

Want to get upload / download progress for http requests in flutter? The way that you are already using Stream means that you are not reading the whole file into memory. It’s being read in as, probably, 64k chunks.

You could intercept the stream between the producer (File) and consumer (HttpClient) with a StreamTransformer, like this:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers