ImageTools class

Constructors

ImageTools()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

boxFit(String? fit) BoxFit
getCachedAvatar(String avatarUrl) → CachedNetworkImage
cache avatar for the chat
image({String? url, kSize? size, double? width, double? height, BoxFit? fit, String? tag, int? cacheHeight, int? cacheWidth, double offset = 0.0, bool isResize = false, bool? isVideo = false, bool hidePlaceHolder = false, bool forceWhiteBackground = false, String kImageProxy = ''}) Widget
Smart image function to load image cache and check empty URL to return empty box Only apply for the product image resize with (small, medium, large)
networkImage(String? url, [kSize size = kSize.medium]) NetworkImage
prestashopImage(String url, [kSize? size = kSize.medium]) String