get_image_cache_network library

Classes

DioInterceptor
Failure
GetImageCacheNetwork
This class is used to get the image from the network or from the cache. This GetImageCacheNetwork return a Widget that can be a image or a placeholder. If there is no image in the cache, it will get the image from the network and save it in the cache. If there is an image in the cache, it will get the image from the cache. If there is an error, it will return a placeholder. You can provide a width and height to get a image with the correct size by default would be 64px. You can provide a cacheDuration by default would be 15 days.