ImageUtil class
Image Util.
Constructors
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
-
getImageWH(
{Image? image, String? url, String? localUrl, String? package, ImageConfiguration? configuration}) → Future< Rect> - get image width height,load error throw exception.(unit px) 获取图片宽高,加载错误会抛出异常.(单位 px) image url network local url , package
-
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