PowerImageLoader class

Properties

channel ↔ PowerImageChannel
getter/setter pair
globalRenderType String
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Operators

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

Static Properties

completers Map<String?, PowerImageCompleter>
getter/setter pair
instance PowerImageLoader
getter/setter pair