Closed apurvh closed 5 years ago
@Apurv2017 Added function to get filename.
update 0.11.0.
Please refer to the sample below
var imageId = await ImageDownloader.downloadImage("https://raw.githubusercontent.com/wiki/ko2ic/image_downloader/images/flutter.png");
if (imageId == null) {
return;
}
var fileName = await ImageDownloader.findName(imageId);
var path = await ImageDownloader.findPath(imageId);
I want to open the file as soon as it is downloaded, for that path/filename is required. OpenFile.open(path);
Is it possible to get the filename/path?