PowerImageLoader class
Methods
loadImage (PowerImageRequestOptions options )
→ PowerImageCompleter
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onImageComplete (Map map )
→ void
prefetch (PowerImageRequestOptions options , BuildContext context , {ImageErrorListener ? onError })
→ Future <PowerImageInfo ? >
prefetch image with options
this will add image to ImageCache
so the next time ,when you use equal options (==\hashCode),
will directly use the cached image
prefetchAssetImage (String src , BuildContext context , {String ? renderingType , double ? imageWidth , double ? imageHeight , String ? package , ImageErrorListener ? onError })
→ Future <PowerImageInfo ? >
prefetch imageTypeAssert image
base of
Future
prefetchFileImage (String src , BuildContext context , {String ? renderingType , double ? imageWidth , double ? imageHeight , ImageErrorListener ? onError })
→ Future <PowerImageInfo ? >
prefetch imageTypeFile image
base of
Future
prefetchNativeAssetImage (String src , BuildContext context , {String ? renderingType , double ? imageWidth , double ? imageHeight , ImageErrorListener ? onError })
→ Future <PowerImageInfo ? >
prefetch imageTypeNativeAssert image
base of
Future
prefetchNetworkImage (String url , BuildContext context , {String ? renderingType , double ? imageWidth , double ? imageHeight , ImageErrorListener ? onError })
→ Future <PowerImageInfo ? >
prefetch imageTypeNetwork image
base of
Future
prefetchTypeImage (String imageType , PowerImageRequestOptionsSrc src , BuildContext context , {String ? renderingType , double ? imageWidth , double ? imageHeight , ImageErrorListener ? onError })
→ Future <PowerImageInfo ? >
prefetch image with type
go PowerImage.type for more detail
releaseImageRequest (PowerImageRequestOptions options )
→ void
setup (PowerImageSetupOptions ? options )
→ void
toString ()
→ String
A string representation of this object.
inherited