imageProvider static method

CachedNetworkImageProvider imageProvider({
  1. required String url,
})

Implementation

static CachedNetworkImageProvider imageProvider({required String url}) {
  var cacheKey = url.generateMd5();
  return CachedNetworkImageProvider(
    url,
    cacheKey: cacheKey,
    cacheManager: ImageCacheManager.instance,
  );
}