PrecachedNetworkImageManager class


cachedFiles Map<String, File?>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


addPrecache({required String url}) → dynamic
add the url which you want to precache next time
cleanCaches() → dynamic
clean all urls precache and file cache in memory and disk
cleanImageCache() → dynamic
clean all precache's files of given urls cache in memory and disk
cleanPrecache() → dynamic
clean all urls precache
deleteImageCache({required String url}) → dynamic
delete the file of given url cache in memory and disk
deletePrecache({required String url}) → dynamic
delete the url which you cancel to precache
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
precacheNetworkImages({List<String>? urls}) → dynamic
precache all urls(or the target param urls) to files in memory usage: you can call this method in advance(eg. on launch) to avoid the flash screen caused by the delay time after set the parameter precache of PrecachedNetworkImage(..., precache: true) to true.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.

Static Properties

instance PrecachedNetworkImageManager