Download process Create an instance of Dio and add _startDownload() method which will download a file from the provided url to “save path”. To update download progress, we need to add one more method in which we will calculate the percentage download status. Simple as that.22 Nis 2020
Read moreWhat is Dio package in flutter?
Dio is a powerful HTTP client for Dart . It has support for interceptors, global configuration, FormData , request cancellation, file downloading, and timeout, among others. Flutter offers an http package that’s nice for performing basic network tasks but is pretty daunting to use when handling some advanced features.
Read more