ImageUrlProcess class

Constructors

ImageUrlProcess()
factory

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

assembly({required String url, required double width, double height = 0, ImageCut cut = ImageCut.center, double radius = 0, ZoomType zoomType = ZoomType.geometric}) String
assemblyInfo(String url) String
配置图片基本信息 url 原图片地址
assemblyInfoTx(String url) String
配置图片基本信息 url 原图片地址
assemblyTx({required String url, required double width, double height = 0, ImageCutGravity cutGravity = ImageCutGravity.center, ImageCutType cutType = ImageCutType.rradius, double radius = 2, ZoomType zoomType = ZoomType.geometric}) String
配置图片url png图片时圆角裁剪无效 url 原图片地址 width 图片宽度(必填项) height 图片高度(裁剪时需要) cutGravity 图片裁剪对齐参考点(isPortrait==true时该参数无效),默认以center为参考点; cutType 裁剪方式,默认为圆角裁剪 radius 裁剪半径、圆角半径;(默认为2,方便图片圆角半径参数设置) zoomType 缩放类型与裁剪有关,当zoomType==ZoomType.geometric时cutType和cutGravity无效;
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 Properties

instance ImageUrlProcess
no setter