ImageWidget class
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
Static Methods
-
loadAssetImage(String? image, {double? width, double? height, int? cacheWidth, int? cacheHeight, BoxFit? fit, String format = 'png', Color? color})
→ Widget
-
加载网络图片widget
-
loadNetImage(String? url, {String? domain, ImageTransformerType type = ImageTransformerType.rect, double? width, double? height, BoxFit fit = BoxFit.cover})
→ Widget
-
加载网络图片widget