imageDownloadProgress abstract method

Stream<String> imageDownloadProgress(
  1. String url, {
  2. String imageName = "myimage",
  3. ImageFormat fileExtension = ImageFormat.jpeg,
  4. 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,
});