preCache method
Pre-caches an image
Implementation
Future<void> preCache() async {
if (shouldCache == false) {
throw "Caching must be enabled to pre-cache an image.";
}
await _fetchImage();
}
Pre-caches an image
Future<void> preCache() async {
if (shouldCache == false) {
throw "Caching must be enabled to pre-cache an image.";
}
await _fetchImage();
}