AssetsPickerUtils class

@author: wzp_vicky @time: 2023年9月3日10:43:11 @version: V1.1 @description:兼容选择图片和拍照的

@author: wzp_vicky @time:2025年9月1日19:51:49 @version: V1.2 @description:wechat_assets_picker 默认是拖拽选择的,这里加一个默认值是默认不拖拽选择

Constructors

AssetsPickerUtils.new()

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

getPermissions2PickPic(BuildContext context, {int maxCount = 9, VoidCallback? requestCallBack, String language = "zh", bool isNeedCamera = true, String? themeColor, int gridCount = 4, Function? selectCallback, List<AssetEntity>? selectedAssets, RequestType? requestType}) → dynamic
toSelectPic(BuildContext context, {String language = "zh", int maxAssetsCount = 1, AssetPickerConfig? otherConfig, List<AssetEntity>? selectedAssets, int gridCount = 4, String? themeColor, bool needCamera = true, bool isDrag2Select = false, Function? selectCallback, RequestType? requestType}) → dynamic