getCachedImageFilePath function

Future<String?> getCachedImageFilePath(
  1. String url, {
  2. String? cacheKey,
})

Get the local file path of the cached image

Implementation

Future<String?> getCachedImageFilePath(String url, {String? cacheKey}) async {
  final File? file = await getCachedImageFile(url, cacheKey: cacheKey);
  return file?.path;
}