imageDownloadProgress abstract method
Stream<String>
imageDownloadProgress(
- String url, {
- String imageName = "myimage",
- ImageFormat fileExtension = ImageFormat.jpeg,
- DownloadLocation location = DownloadLocation.temporaryDirectory,
before using homeScreen, lockScreen , bothScreen, systemScreen . we need to download image .
imageName
-> after downloading image name to be saved so when using home screen, etc we can pass this name and
location
location where the image is downloaded
Implementation
Stream<String> imageDownloadProgress(
String url, {
String imageName = "myimage",
ImageFormat fileExtension = ImageFormat.jpeg,
DownloadLocation location = DownloadLocation.temporaryDirectory,
});