ThumbHelper class

Constructors

ThumbHelper()

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

appendQueryParams(String? url, String params) String?
checkImageThumb(Thumb thumb, int width, int height) bool
gifThumbParams() String
makeImageThumbUrl(BuildContext context, String url, int originW, int originH) String?
生成图片缩略图url
makeVideoThumbUrl(String? url) String?
生成视频缩略图url
toImageThumbMethod(Thumb thumb) String
toImageThumbParams(Thumb thumb, int width, int height) String
toVideoThumbParams() String
生成视频缩略图url,取第一帧